aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath9k/ar9003_mac.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/ar9003_mac.c')
-rw-r--r--drivers/net/wireless/ath/ath9k/ar9003_mac.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath9k/ar9003_mac.c b/drivers/net/wireless/ath/ath9k/ar9003_mac.c
index f28adb23ac83..b229597e54cd 100644
--- a/drivers/net/wireless/ath/ath9k/ar9003_mac.c
+++ b/drivers/net/wireless/ath/ath9k/ar9003_mac.c
@@ -72,6 +72,9 @@ int ath9k_hw_process_rxdesc_edma(struct ath_hw *ah, struct ath_rx_status *rxs,
72 if ((rxsp->ds_info & (AR_TxRxDesc | AR_CtrlStat)) != 0) 72 if ((rxsp->ds_info & (AR_TxRxDesc | AR_CtrlStat)) != 0)
73 return -EINPROGRESS; 73 return -EINPROGRESS;
74 74
75 if (!rxs)
76 return 0;
77
75 rxs->rs_status = 0; 78 rxs->rs_status = 0;
76 rxs->rs_flags = 0; 79 rxs->rs_flags = 0;
77 80