diff options
author | Vasanthakumar Thiagarajan <vasanth@atheros.com> | 2010-04-16 01:38:26 +0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-04-16 23:43:21 +0400 |
commit | cee1f625bfcabeed39138547be21d8995357f8e1 (patch) | |
tree | 6facde377b0df9ea0239c4ea5a207f628dd91cbb /drivers/net/wireless/ath/ath9k/hw-ops.h | |
parent | ceb2644576bcb9fe7b79614512c1efe2bf3c307c (diff) | |
download | linux-cee1f625bfcabeed39138547be21d8995357f8e1.tar.xz |
ath9k_hw: Add abstraction for rx enable
Signed-off-by: Vasanthakumar Thiagarajan <vasanth@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/hw-ops.h')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/hw-ops.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath9k/hw-ops.h b/drivers/net/wireless/ath/ath9k/hw-ops.h index 81f3d03f0dbf..19259fbad507 100644 --- a/drivers/net/wireless/ath/ath9k/hw-ops.h +++ b/drivers/net/wireless/ath/ath9k/hw-ops.h @@ -28,6 +28,11 @@ static inline void ath9k_hw_configpcipowersave(struct ath_hw *ah, ath9k_hw_ops(ah)->config_pci_powersave(ah, restore, power_off); } +static inline void ath9k_hw_rxena(struct ath_hw *ah) +{ + ath9k_hw_ops(ah)->rx_enable(ah); +} + /* Private hardware call ops */ /* PHY ops */ |