summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorRobert Marko <robimarko@gmail.com>2019-03-13 14:34:57 +0100
committerHauke Mehrtens <hauke@hauke-m.de>2019-03-21 15:18:40 +0100
commit34a70b62694cdaf9acb70202e3910bf23e0ab81a (patch)
treefe2d31483cbf3c9dfce29beb8f4a38ed3527dec4
parenta8cf037604c4a7f58ff54339b359c62c73d32ad4 (diff)
netifd: wireless: Add support for 802.11ad
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>
-rw-r--r--scripts/netifd-wireless.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/netifd-wireless.sh b/scripts/netifd-wireless.sh
index 4c64e25..6bc48c6 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