aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/carl9170/rx.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/ath/carl9170/rx.c')
-rw-r--r--drivers/net/wireless/ath/carl9170/rx.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/net/wireless/ath/carl9170/rx.c b/drivers/net/wireless/ath/carl9170/rx.c
index 31287e0d362f..256dd42bb4ab 100644
--- a/drivers/net/wireless/ath/carl9170/rx.c
+++ b/drivers/net/wireless/ath/carl9170/rx.c
@@ -604,9 +604,6 @@ static void carl9170_handle_mpdu(struct ar9170 *ar, u8 *buf, int len)
604 mpdu_len = len - sizeof(*mac); 604 mpdu_len = len - sizeof(*mac);
605 605
606 mac = (void *)(buf + mpdu_len); 606 mac = (void *)(buf + mpdu_len);
607 if (unlikely(mac->error & AR9170_RX_ERROR_FATAL))
608 goto drop;
609
610 switch (mac->status & AR9170_RX_STATUS_MPDU) { 607 switch (mac->status & AR9170_RX_STATUS_MPDU) {
611 case AR9170_RX_STATUS_MPDU_FIRST: 608 case AR9170_RX_STATUS_MPDU_FIRST:
612 /* Aggregated MPDUs start with an PLCP header */ 609 /* Aggregated MPDUs start with an PLCP header */