[openwrt/openwrt] ath79: remove redundant setup of wmac for ubnt WA devices

LEDE Commits lede-commits at lists.infradead.org
Tue Nov 3 12:34:25 EST 2020


adrian pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/df9ee254aae57752ea23ea17372b08947a01ef71

commit df9ee254aae57752ea23ea17372b08947a01ef71
Author: Adrian Schmutzler <freifunk at adrianschmutzler.de>
AuthorDate: Tue Nov 3 18:03:01 2020 +0100

    ath79: remove redundant setup of wmac for ubnt WA devices
    
    Several Ubiquiti WA devices set up &wmac again in their DTS files,
    although this is already done in ar9342_ubnt_wa.dtsi.
    
    Fixes: fa3c2676ab0c ("ath79: Add support for Ubiquiti Nanostation AC")
    Fixes: cf5a1abe46fc ("ath79: define 2.4GHz radio for nanostation ac loco")
    Fixes: 09804da80a99 ("ath79: define 2.4GHz radio for litebeam ac gen2")
    
    Signed-off-by: Adrian Schmutzler <freifunk at adrianschmutzler.de>
---
 target/linux/ath79/dts/ar9342_ubnt_litebeam-ac-gen2.dts    | 6 ------
 target/linux/ath79/dts/ar9342_ubnt_nanostation-ac-loco.dts | 6 ------
 target/linux/ath79/dts/ar9342_ubnt_nanostation-ac.dts      | 6 ------
 3 files changed, 18 deletions(-)

diff --git a/target/linux/ath79/dts/ar9342_ubnt_litebeam-ac-gen2.dts b/target/linux/ath79/dts/ar9342_ubnt_litebeam-ac-gen2.dts
index d031aa8786..9086211ac4 100644
--- a/target/linux/ath79/dts/ar9342_ubnt_litebeam-ac-gen2.dts
+++ b/target/linux/ath79/dts/ar9342_ubnt_litebeam-ac-gen2.dts
@@ -6,9 +6,3 @@
 	compatible = "ubnt,litebeam-ac-gen2", "ubnt,wa", "qca,ar9342";
 	model = "Ubiquiti LiteBeam AC Gen2";
 };
-
-&wmac {
-	status = "okay";
-
-	mtd-cal-data = <&art 0x1000>;
-};
diff --git a/target/linux/ath79/dts/ar9342_ubnt_nanostation-ac-loco.dts b/target/linux/ath79/dts/ar9342_ubnt_nanostation-ac-loco.dts
index 96d3775233..72cd8b0269 100644
--- a/target/linux/ath79/dts/ar9342_ubnt_nanostation-ac-loco.dts
+++ b/target/linux/ath79/dts/ar9342_ubnt_nanostation-ac-loco.dts
@@ -6,9 +6,3 @@
 	compatible = "ubnt,nanostation-ac-loco", "ubnt,wa", "qca,ar9342";
 	model = "Ubiquiti Nanostation AC loco (WA)";
 };
-
-&wmac {
-	status = "okay";
-
-	mtd-cal-data = <&art 0x1000>;
-};
diff --git a/target/linux/ath79/dts/ar9342_ubnt_nanostation-ac.dts b/target/linux/ath79/dts/ar9342_ubnt_nanostation-ac.dts
index 2d90351331..264498c857 100644
--- a/target/linux/ath79/dts/ar9342_ubnt_nanostation-ac.dts
+++ b/target/linux/ath79/dts/ar9342_ubnt_nanostation-ac.dts
@@ -36,9 +36,3 @@
 		};
 	};
 };
-
-&wmac {
-	status = "okay";
-
-	mtd-cal-data = <&art 0x1000>;
-};



More information about the lede-commits mailing list