hotplug: Allow configuring radio name.
authorBen Greear <greearb@candelatech.com>
Fri, 26 Oct 2018 17:05:39 +0000 (10:05 -0700)
committerJohn Crispin <john@phrozen.org>
Mon, 26 Nov 2018 11:05:45 +0000 (12:05 +0100)
commit38167cb7f41b316fcc6d6bbcab993a2f42f30c0e
tree34ebf9fa1b295fee912249f72bbde20e91ddb916
parent41770add03ad77a0ce41ed424ad050238f7d9272
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 <greearb@candelatech.com>
target/linux/ipq806x/base-files/etc/hotplug.d/ieee80211/10_fix_wifi_mac