mac80211: support wildcard paths when matching phys
authorjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 29 Jul 2014 09:48:07 +0000 (09:48 +0000)
committerjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 29 Jul 2014 09:48:07 +0000 (09:48 +0000)
commit4d8e84675d7c4e12746195bb3ebc6d05cbb460ec
tree60ce1cd034379e7f4bf7832b7837fbf5af4d93fe
parent196ffd1ddcbb8584427b20b7179abd2d2b155a90
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41873 3c298f89-4303-0410-b956-a3cf2f4a3e73
package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh
package/kernel/mac80211/files/lib/wifi/mac80211.sh