Return-path: Received: from mail-wg0-f44.google.com ([74.125.82.44]:51334 "EHLO mail-wg0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753293AbaGMKSc (ORCPT ); Sun, 13 Jul 2014 06:18:32 -0400 Received: by mail-wg0-f44.google.com with SMTP id m15so2850335wgh.3 for ; Sun, 13 Jul 2014 03:18:31 -0700 (PDT) From: Lorenzo Bianconi To: ath9k-devel@lists.ath9k.org Cc: linux-wireless@vger.kernel.org, Philippe Duchein Subject: [RFCv2 07/10] ath9k: enable control frame reception Date: Sun, 13 Jul 2014 12:18:21 +0200 Message-Id: <1405246704-7489-8-git-send-email-lorenzo.bianconi83@gmail.com> (sfid-20140713_121847_302076_C3A438C4) In-Reply-To: <1405246704-7489-1-git-send-email-lorenzo.bianconi83@gmail.com> References: <1405246704-7489-1-git-send-email-lorenzo.bianconi83@gmail.com> Sender: linux-wireless-owner@vger.kernel.org List-ID: Enable control frame reception if dynamic ack processing is enabled Signed-off-by: Lorenzo Bianconi --- drivers/net/wireless/ath/ath9k/recv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wireless/ath/ath9k/recv.c b/drivers/net/wireless/ath/ath9k/recv.c index ad317a4..cc5ba4a 100644 --- a/drivers/net/wireless/ath/ath9k/recv.c +++ b/drivers/net/wireless/ath/ath9k/recv.c @@ -398,7 +398,7 @@ u32 ath_calcrxfilter(struct ath_softc *sc) if (sc->sc_ah->is_monitoring) rfilt |= ATH9K_RX_FILTER_PROM; - if (sc->rx.rxfilter & FIF_CONTROL) + if ((sc->rx.rxfilter & FIF_CONTROL) || sc->sc_ah->dynack.enabled) rfilt |= ATH9K_RX_FILTER_CONTROL; if ((sc->sc_ah->opmode == NL80211_IFTYPE_STATION) && -- 1.9.1