diff options
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/mac.c')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/mac.c | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/drivers/net/wireless/ath/ath9k/mac.c b/drivers/net/wireless/ath/ath9k/mac.c index 4a2060e5a77..ae9d54c9c79 100644 --- a/drivers/net/wireless/ath/ath9k/mac.c +++ b/drivers/net/wireless/ath/ath9k/mac.c | |||
@@ -16,6 +16,17 @@ | |||
16 | 16 | ||
17 | #include "hw.h" | 17 | #include "hw.h" |
18 | 18 | ||
19 | static void ar9002_hw_rx_enable(struct ath_hw *ah) | ||
20 | { | ||
21 | REG_WRITE(ah, AR_CR, AR_CR_RXE); | ||
22 | } | ||
23 | |||
24 | void ar9002_hw_attach_mac_ops(struct ath_hw *ah) | ||
25 | { | ||
26 | struct ath_hw_ops *ops = ath9k_hw_ops(ah); | ||
27 | |||
28 | ops->rx_enable = ar9002_hw_rx_enable; | ||
29 | } | ||
19 | static void ath9k_hw_set_txq_interrupts(struct ath_hw *ah, | 30 | static void ath9k_hw_set_txq_interrupts(struct ath_hw *ah, |
20 | struct ath9k_tx_queue_info *qi) | 31 | struct ath9k_tx_queue_info *qi) |
21 | { | 32 | { |
@@ -999,12 +1010,6 @@ void ath9k_hw_putrxbuf(struct ath_hw *ah, u32 rxdp) | |||
999 | } | 1010 | } |
1000 | EXPORT_SYMBOL(ath9k_hw_putrxbuf); | 1011 | EXPORT_SYMBOL(ath9k_hw_putrxbuf); |
1001 | 1012 | ||
1002 | void ath9k_hw_rxena(struct ath_hw *ah) | ||
1003 | { | ||
1004 | REG_WRITE(ah, AR_CR, AR_CR_RXE); | ||
1005 | } | ||
1006 | EXPORT_SYMBOL(ath9k_hw_rxena); | ||
1007 | |||
1008 | void ath9k_hw_startpcureceive(struct ath_hw *ah) | 1013 | void ath9k_hw_startpcureceive(struct ath_hw *ah) |
1009 | { | 1014 | { |
1010 | ath9k_enable_mib_counters(ah); | 1015 | ath9k_enable_mib_counters(ah); |