[openwrt/openwrt] ath79: change Ubiquiti UniFi AP model name to include "AP"

LEDE Commits lede-commits at lists.infradead.org
Thu Mar 24 01:35:39 PDT 2022


neoraider pushed a commit to openwrt/openwrt.git, branch openwrt-22.03:
https://git.openwrt.org/a5141a9ed8296e32f827774241d555c733448251

commit a5141a9ed8296e32f827774241d555c733448251
Author: Matthias Schiffer <mschiffer at universe-factory.net>
AuthorDate: Thu Mar 24 09:26:01 2022 +0100

    ath79: change Ubiquiti UniFi AP model name to include "AP"
    
    While it hasn't always been clear whether the "AP" is part of the model
    name on the Ubiquiti website, we include it for all other pre-AC
    variants (AP Pro and the AP Outdoor+). Add it to the original UniFi AP
    as well for consistency.
    
    Signed-off-by: Matthias Schiffer <mschiffer at universe-factory.net>
    (cherry picked from commit dc23df8a8ca728871d84f0a140f4b52c36b03f1d)
---
 target/linux/ath79/dts/ar7241_ubnt_unifi.dts | 2 +-
 target/linux/ath79/image/generic-ubnt.mk     | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/target/linux/ath79/dts/ar7241_ubnt_unifi.dts b/target/linux/ath79/dts/ar7241_ubnt_unifi.dts
index 9b312b8fde..c43867a3eb 100644
--- a/target/linux/ath79/dts/ar7241_ubnt_unifi.dts
+++ b/target/linux/ath79/dts/ar7241_ubnt_unifi.dts
@@ -4,7 +4,7 @@
 
 / {
 	compatible = "ubnt,unifi", "qca,ar7241";
-	model = "Ubiquiti UniFi";
+	model = "Ubiquiti UniFi AP";
 
 	aliases {
 		label-mac-device = &eth0;
diff --git a/target/linux/ath79/image/generic-ubnt.mk b/target/linux/ath79/image/generic-ubnt.mk
index 9470adf48b..0b613df62b 100644
--- a/target/linux/ath79/image/generic-ubnt.mk
+++ b/target/linux/ath79/image/generic-ubnt.mk
@@ -419,7 +419,7 @@ TARGET_DEVICES += ubnt_routerstation-pro
 
 define Device/ubnt_unifi
   $(Device/ubnt-bz)
-  DEVICE_MODEL := UniFi
+  DEVICE_MODEL := UniFi AP
   SUPPORTED_DEVICES += unifi
 endef
 TARGET_DEVICES += ubnt_unifi




More information about the lede-commits mailing list