[openwrt/openwrt] apm821xx: WNDAP6X0: add missed uci-default for compat

LEDE Commits lede-commits at lists.infradead.org
Fri Oct 22 12:28:16 PDT 2021


chunkeey pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/9fcb5c367e8587c9626798ce3814a3ae2948e397

commit 9fcb5c367e8587c9626798ce3814a3ae2948e397
Author: Christian Lamparter <chunkeey at gmail.com>
AuthorDate: Wed Oct 20 21:04:43 2021 +0200

    apm821xx: WNDAP6X0: add missed uci-default for compat
    
    This should have been included in the previous patch that
    resized the kernel partition to fit bigger kernels.
    
    Fixes: 7a6a3494450c ("apm821xx: WNDAP620 + WNDAP660: reorganize partitions for 5.10")
    Signed-off-by: Christian Lamparter <chunkeey at gmail.com>
---
 .../linux/apm821xx/base-files/etc/uci-defaults/05_fix-compat-version  | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/target/linux/apm821xx/base-files/etc/uci-defaults/05_fix-compat-version b/target/linux/apm821xx/base-files/etc/uci-defaults/05_fix-compat-version
index 67664abc75..0be0b6112a 100644
--- a/target/linux/apm821xx/base-files/etc/uci-defaults/05_fix-compat-version
+++ b/target/linux/apm821xx/base-files/etc/uci-defaults/05_fix-compat-version
@@ -1,7 +1,9 @@
 . /lib/functions.sh
 
 case "$(board_name)" in
-meraki,mx60)
+meraki,mx60|\
+netgear,wndap620|\
+netgear,wndap660)
 	uci set system. at system[0].compat_version="2.0"
 	uci commit system
 	;;



More information about the lede-commits mailing list