diff options
| author | John W. Linville <linville@tuxdriver.com> | 2011-01-05 16:06:25 -0500 |
|---|---|---|
| committer | John W. Linville <linville@tuxdriver.com> | 2011-01-05 16:06:25 -0500 |
| commit | c96e96354a6c9456cdf1f150eca504e2ea35301e (patch) | |
| tree | 751bec601fb8152116b8e31e0f1f83d687a37d6f /drivers/net/wireless/ath/ath9k/mac.c | |
| parent | dbbe68bb12b34f3e450da7a73c20e6fa1f85d63a (diff) | |
| parent | 33af88138b859f515b365a074e0a014d7cdbf846 (diff) | |
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next-2.6 into for-davem
Conflicts:
net/bluetooth/Makefile
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/mac.c')
| -rw-r--r-- | drivers/net/wireless/ath/ath9k/mac.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/drivers/net/wireless/ath/ath9k/mac.c b/drivers/net/wireless/ath/ath9k/mac.c index e3d2ebf00e2e..180170d3ce25 100644 --- a/drivers/net/wireless/ath/ath9k/mac.c +++ b/drivers/net/wireless/ath/ath9k/mac.c | |||
| @@ -692,15 +692,16 @@ int ath9k_hw_rxprocdesc(struct ath_hw *ah, struct ath_desc *ds, | |||
| 692 | if ((ads.ds_rxstatus8 & AR_RxFrameOK) == 0) { | 692 | if ((ads.ds_rxstatus8 & AR_RxFrameOK) == 0) { |
| 693 | if (ads.ds_rxstatus8 & AR_CRCErr) | 693 | if (ads.ds_rxstatus8 & AR_CRCErr) |
| 694 | rs->rs_status |= ATH9K_RXERR_CRC; | 694 | rs->rs_status |= ATH9K_RXERR_CRC; |
| 695 | else if (ads.ds_rxstatus8 & AR_PHYErr) { | 695 | if (ads.ds_rxstatus8 & AR_PHYErr) { |
| 696 | rs->rs_status |= ATH9K_RXERR_PHY; | 696 | rs->rs_status |= ATH9K_RXERR_PHY; |
| 697 | phyerr = MS(ads.ds_rxstatus8, AR_PHYErrCode); | 697 | phyerr = MS(ads.ds_rxstatus8, AR_PHYErrCode); |
| 698 | rs->rs_phyerr = phyerr; | 698 | rs->rs_phyerr = phyerr; |
| 699 | } else if (ads.ds_rxstatus8 & AR_DecryptCRCErr) | 699 | } |
| 700 | if (ads.ds_rxstatus8 & AR_DecryptCRCErr) | ||
| 700 | rs->rs_status |= ATH9K_RXERR_DECRYPT; | 701 | rs->rs_status |= ATH9K_RXERR_DECRYPT; |
| 701 | else if (ads.ds_rxstatus8 & AR_MichaelErr) | 702 | if (ads.ds_rxstatus8 & AR_MichaelErr) |
| 702 | rs->rs_status |= ATH9K_RXERR_MIC; | 703 | rs->rs_status |= ATH9K_RXERR_MIC; |
| 703 | else if (ads.ds_rxstatus8 & AR_KeyMiss) | 704 | if (ads.ds_rxstatus8 & AR_KeyMiss) |
| 704 | rs->rs_status |= ATH9K_RXERR_DECRYPT; | 705 | rs->rs_status |= ATH9K_RXERR_DECRYPT; |
| 705 | } | 706 | } |
| 706 | 707 | ||
