hotplug: Allow configuring radio name.
authorBen Greear <[email protected]>
Fri, 26 Oct 2018 17:05:39 +0000 (10:05 -0700)
committerJo-Philipp Wich <[email protected]>
Tue, 18 Dec 2018 16:48:16 +0000 (17:48 +0100)
commitcc5964e0dbfd539c5ba11903b087c2a156e54310
tree82cc715563f7701ab4cbf82b67aa4650728f38ce
parent63565bcf184874e39c83ce4b75b4cc5d72002314
hotplug: Allow configuring radio name.

This way the radio (phy) name can be the same through module reloads.

To set the desired name:

uci set wireless.@wifi-device[0].phyname=wiphy0

I guess this only works on ipq6086 boards as I could not find a more
generic place to put this.  Maybe someone can improve it.

Signed-off-by: Ben Greear <[email protected]>
(backported from 38167cb7f41b316fcc6d6bbcab993a2f42f30c0e)
target/linux/ipq806x/base-files/etc/hotplug.d/ieee80211/10_fix_wifi_mac