diff options
author | Felix Fietkau <nbd@openwrt.org> | 2009-10-17 04:55:59 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2009-10-17 04:55:59 +0000 |
commit | 6e9ada01c0a6bfd36a548a1b619cb97d843e78ce (patch) | |
tree | 9a06b942aeb4e28e67339433c67bd6ffd3cbd626 | |
parent | 2c040be231076c48da4a0451c09fa2ac99969f2c (diff) | |
download | mtk-20170518-6e9ada01c0a6bfd36a548a1b619cb97d843e78ce.zip mtk-20170518-6e9ada01c0a6bfd36a548a1b619cb97d843e78ce.tar.gz mtk-20170518-6e9ada01c0a6bfd36a548a1b619cb97d843e78ce.tar.bz2 |
hostapd: do not configure wme when using madwifi - fixes wpa/wpa2 association problems
SVN-Revision: 18051
-rw-r--r-- | package/hostapd/files/hostapd.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/package/hostapd/files/hostapd.sh b/package/hostapd/files/hostapd.sh index 9d0fb60..0db5e06 100644 --- a/package/hostapd/files/hostapd.sh +++ b/package/hostapd/files/hostapd.sh @@ -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 } |