mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-09 17:10:17 +02:00
33 lines
1007 B
Diff
33 lines
1007 B
Diff
|
--- a/drivers/net/wireless/ath/ath9k/ar9003_mac.c
|
||
|
+++ b/drivers/net/wireless/ath/ath9k/ar9003_mac.c
|
||
|
@@ -558,10 +558,11 @@ int ath9k_hw_process_rxdesc_edma(struct
|
||
|
rxs->rs_status |= ATH9K_RXERR_DECRYPT;
|
||
|
else if (rxsp->status11 & AR_MichaelErr)
|
||
|
rxs->rs_status |= ATH9K_RXERR_MIC;
|
||
|
- if (rxsp->status11 & AR_KeyMiss)
|
||
|
- rxs->rs_status |= ATH9K_RXERR_KEYMISS;
|
||
|
}
|
||
|
|
||
|
+ if (rxsp->status11 & AR_KeyMiss)
|
||
|
+ rxs->rs_status |= ATH9K_RXERR_KEYMISS;
|
||
|
+
|
||
|
return 0;
|
||
|
}
|
||
|
EXPORT_SYMBOL(ath9k_hw_process_rxdesc_edma);
|
||
|
--- a/drivers/net/wireless/ath/ath9k/mac.c
|
||
|
+++ b/drivers/net/wireless/ath/ath9k/mac.c
|
||
|
@@ -621,10 +621,11 @@ int ath9k_hw_rxprocdesc(struct ath_hw *a
|
||
|
rs->rs_status |= ATH9K_RXERR_DECRYPT;
|
||
|
else if (ads.ds_rxstatus8 & AR_MichaelErr)
|
||
|
rs->rs_status |= ATH9K_RXERR_MIC;
|
||
|
- if (ads.ds_rxstatus8 & AR_KeyMiss)
|
||
|
- rs->rs_status |= ATH9K_RXERR_KEYMISS;
|
||
|
}
|
||
|
|
||
|
+ if (ads.ds_rxstatus8 & AR_KeyMiss)
|
||
|
+ rs->rs_status |= ATH9K_RXERR_KEYMISS;
|
||
|
+
|
||
|
return 0;
|
||
|
}
|
||
|
EXPORT_SYMBOL(ath9k_hw_rxprocdesc);
|