netifd patch 60ghz AD AP mode

herman at herman at
Sat Apr 2 23:35:36 PDT 2022


I believe there is a typo in
My fist patch sent here so I hope it is in good format.
When an AD device is placed in AP mode the wrong hWmode is writen to 
This should fix it. For me it does.



diff --git a/scripts/ b/scripts/
index d5f3867..a0f91ed 100644
--- a/scripts/
+++ b/scripts/
@@ -70,7 +70,8 @@

         case "$band" in
                 2g) hwmode=g;;
-               5g|6g|60g) hwmode=a;;
+               60g) hwmode=ad;;
+               5g|6g) hwmode=a;;
                         case "$hwmode" in
                                 *a) band=5g;;

More information about the openwrt-devel mailing list