ath79: migrate Archer C5 5GHz radio device paths
authorJan-Niklas Burfeind <git@aiyionpri.me>
Mon, 28 Mar 2022 16:07:59 +0000 (18:07 +0200)
committerMatthias Schiffer <mschiffer@universe-factory.net>
Thu, 31 Mar 2022 16:07:53 +0000 (18:07 +0200)
When upgrading a TP-Link Archer C5 v1 from ar71xx to ath79,
the 5ghz radio stops working because the device path changed.

Same has been done for the Archer C7 before:

commit e19506f20618 ("ath79: migrate Archer C7 5GHz radio device paths")

Signed-off-by: Jan-Niklas Burfeind <git@aiyionpri.me>
(cherry picked from commit c6eb63d48f942f1e54737ed182776cf9a08de542)

target/linux/ath79/base-files/etc/hotplug.d/ieee80211/00-wifi-migration

index 35e7c4452c80de57e2f1c1a5e6b0f7c1417c7c3e..f7393a0d0371bab38a70a7fdb93d558689c5c074 100644 (file)
@@ -14,6 +14,7 @@ migrate_wifi_path() {
                        board=$(board_name)
 
                        case "$board" in
+                               tplink,archer-c5-v1|\
                                tplink,archer-c7-v1|\
                                tplink,archer-c7-v2|\
                                zyxel,emg2926-q10a|\