mac80211: support wildcard paths when matching phys
authorJo-Philipp Wich <jow@openwrt.org>
Tue, 29 Jul 2014 09:48:07 +0000 (09:48 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Tue, 29 Jul 2014 09:48:07 +0000 (09:48 +0000)
commit1c0557cfa80e6c5258960e6f12f526ba57082276
treedf3e674823ac9ec8132b9b2cd15ce3d55e8e8623
parentb6153f92ada40d2d36e43d119616f20c7e379450
mac80211: support wildcard paths when matching phys

This change introduces support for wildcard patterns in "option path"
of section "wifi-device".

Objective is to allow paths like "*/usb[0-9]/*/*" in order to claim
any usb device using the same backend type, regardless of its bus
address or phy name.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 41873
package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh
package/kernel/mac80211/files/lib/wifi/mac80211.sh