diff options
author | Felix Fietkau <nbd@openwrt.org> | 2015-01-24 19:27:22 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2015-01-24 19:27:22 +0000 |
commit | f1b7de863d1b26361784b6c0f02bef3900b1239d (patch) | |
tree | a99ea0c94806beecf4043249158a535efdcfc911 /package/network/services | |
parent | 8e1a7da881ea5c6679c43cfe2dbe2dbc4d4d652e (diff) | |
download | upstream-f1b7de863d1b26361784b6c0f02bef3900b1239d.tar.gz upstream-f1b7de863d1b26361784b6c0f02bef3900b1239d.tar.bz2 upstream-f1b7de863d1b26361784b6c0f02bef3900b1239d.zip |
mac80211/hostapd: fix HT mode setup for RSN ad-hoc networks
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44100 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/network/services')
-rw-r--r-- | package/network/services/hostapd/files/netifd.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/package/network/services/hostapd/files/netifd.sh b/package/network/services/hostapd/files/netifd.sh index d6257090ac..83fb129fe1 100644 --- a/package/network/services/hostapd/files/netifd.sh +++ b/package/network/services/hostapd/files/netifd.sh @@ -596,7 +596,8 @@ wpa_supplicant_add_network() { } local ht_str - [ -n "$ht" ] && append network_data "htmode=$ht" "$N$T" + [[ "$_w_mode" = adhoc ]] || ibss_htmode= + [ -n "$ibss_htmode" ] && append network_data "htmode=$ibss_htmode" "$N$T" cat >> "$_config" <<EOF network={ |