[OpenWrt-Devel] [PATCH] netifd: wireless: Add support for 802.11ad

Robert Marko robimarko at gmail.com
Wed Mar 13 09:34:57 EDT 2019


This simple patch adds 802.11ad to hwmode list so that netifd-wireless.sh does not otherwise overwrite it with the default hwmode=g

Signed-off-by: Robert Marko <robimarko at gmail.com>
---
 scripts/netifd-wireless.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/netifd-wireless.sh b/scripts/netifd-wireless.sh
index 991544e..424b3ad 100644
--- a/scripts/netifd-wireless.sh
+++ b/scripts/netifd-wireless.sh
@@ -70,7 +70,7 @@ _wdev_prepare_channel() {
 	}
 
 	case "$hwmode" in
-		a|b|g) ;;
+		a|b|g|ad) ;;
 		*)
 			if [ "$channel" -gt 14 ]; then
 				hwmode=a
-- 
2.20.1


_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list