ath79: migrate Archer C7 5GHz radio device paths
authorDavid Santamaría Rogado <howl.nsp@gmail.com>
Tue, 4 Jun 2019 20:06:17 +0000 (22:06 +0200)
committerChristian Lamparter <chunkeey@gmail.com>
Mon, 10 Jun 2019 09:25:46 +0000 (11:25 +0200)
commite19506f20618bf504abcadb47261a0d69ecf4570
tree1bcef63e1ba27a206d32509fe7d4d3fbd564a598
parentfcb920ffe70af7a3b962d893916aee1619c5fb8e
ath79: migrate Archer C7 5GHz radio device paths

When upgrading a TP-Link Archer C7 v2 from ar71xx to ath79,
the 5ghz radio stops working because the device path changed.

Some people subtitute the unsupported QCA9880v1 in the Archer v1
with supported QCA9880v2 radio. Since the stock radio doesn't
work, so it's safe to apply the change also for the Archer v1
images as well.

Also this patch renames the migration file and variables from
wmac to wifi.

Signed-off-by: David Santamaría Rogado <howl.nsp@gmail.com>
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
[removed comment, added return 0 (not that it matters since uci is
clever, see 00-wmac-migration thread), reworded commit message]
target/linux/ath79/base-files/etc/hotplug.d/ieee80211/00-wifi-migration [new file with mode: 0644]
target/linux/ath79/base-files/etc/hotplug.d/ieee80211/00-wmac-migration [deleted file]