CC: mac80211: fix disabling HT in IBSS mode (#21340)

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

Backport of r47813

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47815 3c298f89-4303-0410-b956-a3cf2f4a3e73
master
Jo-Philipp Wich 2015-12-09 15:36:22 +00:00
parent 5d1ab54bd8
commit 34352bc282
1 changed files with 3 additions and 0 deletions

View File

@ -525,6 +525,9 @@ mac80211_setup_adhoc_htmode() {
esac
[ "$auto_channel" -gt 0 ] && ibss_htmode="HT40+"
;;
NONE|NOHT)
ibss_htmode="NOHT"
;;
*) ibss_htmode="" ;;
esac