projects
/
openwrt
/
staging
/
blocktrron.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9a790eb
)
mac80211: configure HT IBSS through uci
author
Felix Fietkau
<nbd@openwrt.org>
Fri, 24 Jun 2011 19:53:31 +0000
(19:53 +0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Fri, 24 Jun 2011 19:53:31 +0000
(19:53 +0000)
SVN-Revision: 27279
package/mac80211/files/lib/wifi/mac80211.sh
patch
|
blob
|
history
diff --git
a/package/mac80211/files/lib/wifi/mac80211.sh
b/package/mac80211/files/lib/wifi/mac80211.sh
index 2ca63bb5cf8917bad5fb7e974b9908a475f84734..2472f8ea8483c8575765f2851352e209e32d03c6 100644
(file)
--- a/
package/mac80211/files/lib/wifi/mac80211.sh
+++ b/
package/mac80211/files/lib/wifi/mac80211.sh
@@
-457,7
+457,13
@@
enable_mac80211() {
[ "$mcsub" -gt 0 ] && mcval="$mcval.$mcsub"
}
- iw dev "$ifname" ibss join "$ssid" $freq \
+ config_get htmode "$device" htmode
+ case "$htmode" in
+ HT20|HT40+|HT40-) ;;
+ *) htmode= ;;
+ esac
+
+ iw dev "$ifname" ibss join "$ssid" $freq $htmode \
${fixed:+fixed-freq} $bssid \
${beacon_int:+beacon-interval $beacon_int} \
${brstr:+basic-rates $brstr} \