diff options
author | Enrique RodrÃguez Valencia <enrique.rodriguez@galgus.net> | 2020-05-12 19:35:43 +0200 |
---|---|---|
committer | Daniel Golle <daniel@makrotopia.org> | 2020-05-28 14:06:54 +0100 |
commit | 84c96de60630418275f7d2ea7d2e31bc41cee175 (patch) | |
tree | 3b5e3bd84a807e5e2a80fc2a6659dc4efd55a4b4 /package/kernel/mac80211/files/lib | |
parent | a03d6d2fab13c478a0f6cfc3082bec141f2adcf1 (diff) | |
download | upstream-84c96de60630418275f7d2ea7d2e31bc41cee175.tar.gz upstream-84c96de60630418275f7d2ea7d2e31bc41cee175.tar.bz2 upstream-84c96de60630418275f7d2ea7d2e31bc41cee175.zip |
mac80211: Fix setting radio htmode when using mesh mode
When configuring the radio in legacy mode from luci, the htmode is not set
correctly to NOHT, causing the radio in mesh mode to be set to HT40.
Signed-off-by: Enrique RodrÃguez Valencia <enrique.rodriguez@galgus.net>
Diffstat (limited to 'package/kernel/mac80211/files/lib')
-rw-r--r-- | package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh b/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh index 7ca138c68c..c184eef641 100644 --- a/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh +++ b/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh @@ -782,6 +782,7 @@ mac80211_setup_vif() { case "$mode" in mesh) wireless_vif_parse_encryption + [ -z "$htmode" ] && htmode="NOHT"; freq="$(get_freq "$phy" "$channel")" if [ "$wpa" -gt 0 -o "$auto_channel" -gt 0 ] || chan_is_dfs "$phy" "$channel"; then mac80211_setup_supplicant $vif_enable || failed=1 |