mac80211: support wildcard paths when matching phys
authorblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 3 Aug 2014 11:15:35 +0000 (11:15 +0000)
committerblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 3 Aug 2014 11:15:35 +0000 (11:15 +0000)
commit51c9cc5b80d7eb3336f7326e42fb434cab847b9d
treee342895e0a862a0553588d196362c3eac4ae8319
parent89e81e4f5c452daa65c12bc3951c8d122a6f1e91
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>
Backport of r41873

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@41965 3c298f89-4303-0410-b956-a3cf2f4a3e73
package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh
package/kernel/mac80211/files/lib/wifi/mac80211.sh