mac80211: make sure existing iface belongs to correct (fullmac) phy
authorDaniel Golle <daniel@makrotopia.org>
Fri, 17 Apr 2020 12:11:11 +0000 (13:11 +0100)
committerDaniel Golle <daniel@makrotopia.org>
Fri, 17 Apr 2020 12:31:58 +0000 (13:31 +0100)
commit0495324b9bd0b6a976ea731a1b4b77b26df32ee6
tree6c6f93a4c958f7fc814c02c508c31fb56a59d492
parentedf812e25c9fd3d660b6918f2cea74d53221bdf7
mac80211: make sure existing iface belongs to correct (fullmac) phy

Some FullMAC cfg80211 wireless devices do not support virtual
interfaces, hence there is script logic to keep the existing network
device. Improve this to support renaming the interface if needed and
make sure the existing interface actually belongs to the right phy.
Change calls to 'iw' to avoid outputing warnings and errors to not
confuse users of such devices.

Also bump PKG_RELEASE which has been forgotten in the previous two
mac80211 changes.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
package/kernel/mac80211/Makefile
package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh