1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-25 06:14:37 +02:00

hostapd: do not configure wme when using madwifi - fixes wpa/wpa2 association problems

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18051 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nbd 2009-10-17 04:55:59 +00:00
parent a5fa848148
commit 586c0c90e8

View File

@ -107,6 +107,12 @@ ${ht_capab:+ht_capab=$ht_capab}
${wpa_group_rekey:+wpa_group_rekey=$wpa_group_rekey}
${ieee80211d:+ieee80211d=$ieee80211d}
$hostapd_cfg
EOF
case "$driver" in
madwifi)
;;
*)
cat >> /var/run/hostapd-$ifname.conf <<EOF
wme_enabled=1
wme_ac_bk_cwmin=4
wme_ac_bk_cwmax=10
@ -145,6 +151,8 @@ tx_queue_data0_cwmin=3
tx_queue_data0_cwmax=7
tx_queue_data0_burst=1.5
EOF
;;
esac
hostapd -P /var/run/wifi-$ifname.pid -B /var/run/hostapd-$ifname.conf
}