aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2010-01-22 00:55:10 +0000
committerFelix Fietkau <nbd@openwrt.org>2010-01-22 00:55:10 +0000
commitd531b71f78f96a952518656a45237ec75c841714 (patch)
tree201df788a69ccf5948f0c100c4ae80ed3fd76edb
parentbe117a8d372b92c3faa9206a3be61833386d8c26 (diff)
downloadupstream-d531b71f78f96a952518656a45237ec75c841714.tar.gz
upstream-d531b71f78f96a952518656a45237ec75c841714.tar.bz2
upstream-d531b71f78f96a952518656a45237ec75c841714.zip
mac80211: fix hostapd wmm setting for multiple bss interfaces
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19264 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--package/mac80211/files/lib/wifi/mac80211.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/mac80211/files/lib/wifi/mac80211.sh b/package/mac80211/files/lib/wifi/mac80211.sh
index b3072b79b3..ca38805f7a 100644
--- a/package/mac80211/files/lib/wifi/mac80211.sh
+++ b/package/mac80211/files/lib/wifi/mac80211.sh
@@ -32,7 +32,6 @@ mac80211_hostapd_setup_base() {
cat > "$cfgfile" <<EOF
ctrl_interface=/var/run/hostapd-$phy
driver=nl80211
-wmm_enabled=1
wmm_ac_bk_cwmin=4
wmm_ac_bk_cwmax=10
wmm_ac_bk_aifs=7
@@ -106,6 +105,7 @@ mac80211_hostapd_setup_bss() {
config_get_bool hidden "$vif" hidden 0
cat >> /var/run/hostapd-$phy.conf <<EOF
$hostapd_cfg
+wmm_enabled=1
bssid=$macaddr
ignore_broadcast_ssid=$hidden
EOF