netifd patch 60ghz AD AP mode
herman at zeilsteenfilm.nl
herman at zeilsteenfilm.nl
Sat Apr 2 23:35:36 PDT 2022
Hello,
I believe there is a typo in netifd-wireless.sh.
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
hostapd.
This should fix it. For me it does.
Greetings
Herman
diff --git a/scripts/netifd-wireless.sh b/scripts/netifd-wireless.sh
index d5f3867..a0f91ed 100644
--- a/scripts/netifd-wireless.sh
+++ b/scripts/netifd-wireless.sh
@@ -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