diff options
author | Felix Fietkau <nbd@openwrt.org> | 2013-08-06 08:18:10 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-09-26 20:18:15 -0400 |
commit | 31f34c79a7e8fb75c7bf7d61d56fc8eeff2a7886 (patch) | |
tree | 1791739d8bff220479323bbf2a153cc99702cdd4 | |
parent | d31a13c733d14114da0c7f6cf01396a6a2e1ccb2 (diff) |
ath9k: always clear ps filter bit on new assoc
commit 026d5b07c03458f9c0ccd19c3850564a5409c325 upstream.
Otherwise in some cases, EAPOL frames might be filtered during the
initial handshake, causing delays and assoc failures.
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/net/wireless/ath/ath9k/xmit.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath9k/xmit.c b/drivers/net/wireless/ath/ath9k/xmit.c index 83ab6be3fe6d..e752f5d4995d 100644 --- a/drivers/net/wireless/ath/ath9k/xmit.c +++ b/drivers/net/wireless/ath/ath9k/xmit.c | |||
@@ -2387,6 +2387,7 @@ void ath_tx_node_init(struct ath_softc *sc, struct ath_node *an) | |||
2387 | for (acno = 0, ac = &an->ac[acno]; | 2387 | for (acno = 0, ac = &an->ac[acno]; |
2388 | acno < IEEE80211_NUM_ACS; acno++, ac++) { | 2388 | acno < IEEE80211_NUM_ACS; acno++, ac++) { |
2389 | ac->sched = false; | 2389 | ac->sched = false; |
2390 | ac->clear_ps_filter = true; | ||
2390 | ac->txq = sc->tx.txq_map[acno]; | 2391 | ac->txq = sc->tx.txq_map[acno]; |
2391 | INIT_LIST_HEAD(&ac->tid_q); | 2392 | INIT_LIST_HEAD(&ac->tid_q); |
2392 | } | 2393 | } |