diff options
author | Lorenzo Bianconi <lorenzo.bianconi83@gmail.com> | 2014-09-16 02:13:13 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2014-09-16 16:18:39 -0400 |
commit | 35c273eafe764791c635a45b5292039bbffea38f (patch) | |
tree | f20c23f9fc29b9acc15b1d274bac8583aa6cf2b6 /drivers/net/wireless/ath/ath9k/recv.c | |
parent | 982e0395d32780f6b3fcdbced1d17bbe909dd19f (diff) | |
download | linux-35c273eafe764791c635a45b5292039bbffea38f.tar.bz2 |
ath9k: enable control frame reception
Set control frame bit in rx filter if dynack processing has been activated
in order to enable ACK frame reception
Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi83@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/recv.c')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/recv.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath9k/recv.c b/drivers/net/wireless/ath/ath9k/recv.c index 66c5fe81a035..42108f06825e 100644 --- a/drivers/net/wireless/ath/ath9k/recv.c +++ b/drivers/net/wireless/ath/ath9k/recv.c @@ -400,7 +400,8 @@ u32 ath_calcrxfilter(struct ath_softc *sc) if (sc->sc_ah->is_monitoring) rfilt |= ATH9K_RX_FILTER_PROM; - if (sc->cur_chan->rxfilter & FIF_CONTROL) + if ((sc->cur_chan->rxfilter & FIF_CONTROL) || + sc->sc_ah->dynack.enabled) rfilt |= ATH9K_RX_FILTER_CONTROL; if ((sc->sc_ah->opmode == NL80211_IFTYPE_STATION) && |