netifd: wireless: Add support for 802.11ad
authorRobert Marko <robimarko@gmail.com>
Wed, 13 Mar 2019 13:34:57 +0000 (14:34 +0100)
committerHauke Mehrtens <hauke@hauke-m.de>
Thu, 21 Mar 2019 14:18:40 +0000 (15:18 +0100)
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@gmail.com>
scripts/netifd-wireless.sh

index 4c64e25e4c887820bb3f34dc4151be3ee2b23060..6bc48c6a3f1c6cf7dc8219f189df4c31ab3cd656 100644 (file)
@@ -70,7 +70,7 @@ _wdev_prepare_channel() {
        }
 
        case "$hwmode" in
-               a|b|g) ;;
+               a|b|g|ad) ;;
                *)
                        if [ "$channel" -gt 14 ]; then
                                hwmode=a