Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 266721
b: refs/heads/master
c: ec20599
h: refs/heads/master
i:
  266719: bb1f479
v: v3
  • Loading branch information
Felix Fietkau authored and John W. Linville committed Oct 11, 2011
1 parent ac37867 commit 50b6832
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 846d9363505d14e591a427619ccb7ffe6a7a3541
refs/heads/master: ec205999d31bbb1208ab59c3b6d22c47cca74257
3 changes: 2 additions & 1 deletion trunk/drivers/net/wireless/ath/ath9k/recv.c
Original file line number Diff line number Diff line change
Expand Up @@ -808,6 +808,7 @@ static bool ath9k_rx_accept(struct ath_common *common,
struct ath_rx_status *rx_stats,
bool *decrypt_error)
{
struct ath_softc *sc = (struct ath_softc *) common->priv;
bool is_mc, is_valid_tkip, strip_mic, mic_error;
struct ath_hw *ah = common->ah;
__le16 fc;
Expand Down Expand Up @@ -872,7 +873,7 @@ static bool ath9k_rx_accept(struct ath_common *common,
status_mask = ATH9K_RXERR_DECRYPT | ATH9K_RXERR_MIC |
ATH9K_RXERR_KEYMISS;

if (ah->is_monitoring)
if (ah->is_monitoring && (sc->rx.rxfilter & FIF_FCSFAIL))
status_mask |= ATH9K_RXERR_CRC;

if (rx_stats->rs_status & ~status_mask)
Expand Down

0 comments on commit 50b6832

Please sign in to comment.