projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mac80211/hostapd: fix HT mode setup for RSN ad-hoc networks
[openwrt.git]
/
package
/
network
/
services
/
hostapd
/
files
/
netifd.sh
diff --git
a/package/network/services/hostapd/files/netifd.sh
b/package/network/services/hostapd/files/netifd.sh
index
d625709
..
83fb129
100644
(file)
--- 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={