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 <[email protected]>
---
 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
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to