mac80211: support wildcard paths when matching phys
authorJohn Crispin <[email protected]>
Sun, 3 Aug 2014 11:15:35 +0000 (11:15 +0000)
committerJohn Crispin <[email protected]>
Sun, 3 Aug 2014 11:15:35 +0000 (11:15 +0000)
commit7d39d866cf01011ee5b2da37c9dd3da0bc11e045
treee342895e0a862a0553588d196362c3eac4ae8319
parent63db200bb105966ba47a6c012d31e9f7206dd959
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 <[email protected]>
Backport of r41873

SVN-Revision: 41965
package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh
package/kernel/mac80211/files/lib/wifi/mac80211.sh