diff options
| author | Daniel Golle | 2022-04-03 12:02:22 +0000 |
|---|---|---|
| committer | Daniel Golle | 2022-05-23 13:36:31 +0000 |
| commit | 2e1fcf4cd61222fc0d307d863da71d17fbd34d6f (patch) | |
| tree | 09de268dd6adbb0a46844f955ed774dc7b20d535 | |
| parent | 507c0513d1766757d969530c51fe7d368354538d (diff) | |
| download | netifd-2e1fcf4cd61222fc0d307d863da71d17fbd34d6f.tar.gz | |
netifd: fix hwmode for 60g band
hwmode should be set to 'ad' for 60g band.
Reported-by: herman@zeilsteenfilm.nl
Fixes: 62e3cb5 ("scripts/netifd-wireless.sh: add support for specifying the operating band")
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
| -rw-r--r-- | scripts/netifd-wireless.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/netifd-wireless.sh b/scripts/netifd-wireless.sh index 80fbf75..0e3293c 100644 --- a/scripts/netifd-wireless.sh +++ b/scripts/netifd-wireless.sh @@ -70,7 +70,8 @@ _wdev_prepare_channel() { case "$band" in 2g) hwmode=g;; - 5g|6g|60g) hwmode=a;; + 5g|6g) hwmode=a;; + 60g) hwmode=ad;; *) case "$hwmode" in *a) band=5g;; |