mac80211: fix hostapd wmm setting for multiple bss interfaces
authorFelix Fietkau <nbd@openwrt.org>
Fri, 22 Jan 2010 00:55:10 +0000 (00:55 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Fri, 22 Jan 2010 00:55:10 +0000 (00:55 +0000)
SVN-Revision: 19264

package/mac80211/files/lib/wifi/mac80211.sh

index b3072b79b3051cc82400f4dfb135dc67347cc784..ca38805f7ad5e0b965bb753cb8987cbdcfb905fc 100644 (file)
@@ -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