mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-26 16:41:25 +00:00
ath9k: always clear ps filter bit on new assoc
Otherwise in some cases, EAPOL frames might be filtered during the initial handshake, causing delays and assoc failures. Cc: stable@vger.kernel.org Signed-off-by: Felix Fietkau <nbd@openwrt.org> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
parent
897d7fd9b5
commit
026d5b07c0
1 changed files with 1 additions and 0 deletions
|
@ -2665,6 +2665,7 @@ void ath_tx_node_init(struct ath_softc *sc, struct ath_node *an)
|
||||||
for (acno = 0, ac = &an->ac[acno];
|
for (acno = 0, ac = &an->ac[acno];
|
||||||
acno < IEEE80211_NUM_ACS; acno++, ac++) {
|
acno < IEEE80211_NUM_ACS; acno++, ac++) {
|
||||||
ac->sched = false;
|
ac->sched = false;
|
||||||
|
ac->clear_ps_filter = true;
|
||||||
ac->txq = sc->tx.txq_map[acno];
|
ac->txq = sc->tx.txq_map[acno];
|
||||||
INIT_LIST_HEAD(&ac->tid_q);
|
INIT_LIST_HEAD(&ac->tid_q);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue