aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/wireless/ath/ath9k/ar9003_mac.c5
-rw-r--r--drivers/net/wireless/ath/ath9k/mac.c5
2 files changed, 6 insertions, 4 deletions
diff --git a/drivers/net/wireless/ath/ath9k/ar9003_mac.c b/drivers/net/wireless/ath/ath9k/ar9003_mac.c
index 88c81c5706b2..09b8c9dbf78f 100644
--- a/drivers/net/wireless/ath/ath9k/ar9003_mac.c
+++ b/drivers/net/wireless/ath/ath9k/ar9003_mac.c
@@ -557,10 +557,11 @@ int ath9k_hw_process_rxdesc_edma(struct ath_hw *ah, struct ath_rx_status *rxs,
557 rxs->rs_status |= ATH9K_RXERR_DECRYPT; 557 rxs->rs_status |= ATH9K_RXERR_DECRYPT;
558 else if (rxsp->status11 & AR_MichaelErr) 558 else if (rxsp->status11 & AR_MichaelErr)
559 rxs->rs_status |= ATH9K_RXERR_MIC; 559 rxs->rs_status |= ATH9K_RXERR_MIC;
560 if (rxsp->status11 & AR_KeyMiss)
561 rxs->rs_status |= ATH9K_RXERR_KEYMISS;
562 } 560 }
563 561
562 if (rxsp->status11 & AR_KeyMiss)
563 rxs->rs_status |= ATH9K_RXERR_KEYMISS;
564
564 return 0; 565 return 0;
565} 566}
566EXPORT_SYMBOL(ath9k_hw_process_rxdesc_edma); 567EXPORT_SYMBOL(ath9k_hw_process_rxdesc_edma);
diff --git a/drivers/net/wireless/ath/ath9k/mac.c b/drivers/net/wireless/ath/ath9k/mac.c
index fd3f19c2e550..e196aba77acf 100644
--- a/drivers/net/wireless/ath/ath9k/mac.c
+++ b/drivers/net/wireless/ath/ath9k/mac.c
@@ -618,10 +618,11 @@ int ath9k_hw_rxprocdesc(struct ath_hw *ah, struct ath_desc *ds,
618 rs->rs_status |= ATH9K_RXERR_DECRYPT; 618 rs->rs_status |= ATH9K_RXERR_DECRYPT;
619 else if (ads.ds_rxstatus8 & AR_MichaelErr) 619 else if (ads.ds_rxstatus8 & AR_MichaelErr)
620 rs->rs_status |= ATH9K_RXERR_MIC; 620 rs->rs_status |= ATH9K_RXERR_MIC;
621 if (ads.ds_rxstatus8 & AR_KeyMiss)
622 rs->rs_status |= ATH9K_RXERR_KEYMISS;
623 } 621 }
624 622
623 if (ads.ds_rxstatus8 & AR_KeyMiss)
624 rs->rs_status |= ATH9K_RXERR_KEYMISS;
625
625 return 0; 626 return 0;
626} 627}
627EXPORT_SYMBOL(ath9k_hw_rxprocdesc); 628EXPORT_SYMBOL(ath9k_hw_rxprocdesc);