diff options
author | Mohammed Shafi Shajakhan <mohammed@qca.qualcomm.com> | 2012-01-07 10:36:02 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-01-10 15:46:39 -0500 |
commit | e4922f2b5f1c2b3daa80b56a6eeca984cbee0dde (patch) | |
tree | 13e5df16af456bf5eeed68aa504c6fcd6d07324d /drivers/net | |
parent | d90db4b12bc1b9b8a787ef28550fdb767ee25a49 (diff) |
ath9k_hw: fix a comment
also remove an unused macro and a function declaration
Signed-off-by: Mohammed Shafi Shajakhan <mohammed@qca.qualcomm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/ar9003_phy.c | 2 | ||||
-rw-r--r-- | drivers/net/wireless/ath/ath9k/ath9k.h | 1 | ||||
-rw-r--r-- | drivers/net/wireless/ath/ath9k/calib.h | 1 |
3 files changed, 1 insertions, 3 deletions
diff --git a/drivers/net/wireless/ath/ath9k/ar9003_phy.c b/drivers/net/wireless/ath/ath9k/ar9003_phy.c index 2589b38b689a..2b0bfb8cca02 100644 --- a/drivers/net/wireless/ath/ath9k/ar9003_phy.c +++ b/drivers/net/wireless/ath/ath9k/ar9003_phy.c | |||
@@ -46,7 +46,7 @@ static const int m2ThreshExt_off = 127; | |||
46 | * @chan: | 46 | * @chan: |
47 | * | 47 | * |
48 | * This is the function to change channel on single-chip devices, that is | 48 | * This is the function to change channel on single-chip devices, that is |
49 | * all devices after ar9280. | 49 | * for AR9300 family of chipsets. |
50 | * | 50 | * |
51 | * This function takes the channel value in MHz and sets | 51 | * This function takes the channel value in MHz and sets |
52 | * hardware channel value. Assumes writes have been enabled to analog bus. | 52 | * hardware channel value. Assumes writes have been enabled to analog bus. |
diff --git a/drivers/net/wireless/ath/ath9k/ath9k.h b/drivers/net/wireless/ath/ath9k/ath9k.h index b30e9fc6433f..171ccf7c972f 100644 --- a/drivers/net/wireless/ath/ath9k/ath9k.h +++ b/drivers/net/wireless/ath/ath9k/ath9k.h | |||
@@ -679,7 +679,6 @@ void ath9k_deinit_device(struct ath_softc *sc); | |||
679 | void ath9k_set_hw_capab(struct ath_softc *sc, struct ieee80211_hw *hw); | 679 | void ath9k_set_hw_capab(struct ath_softc *sc, struct ieee80211_hw *hw); |
680 | void ath9k_reload_chainmask_settings(struct ath_softc *sc); | 680 | void ath9k_reload_chainmask_settings(struct ath_softc *sc); |
681 | 681 | ||
682 | void ath_radio_disable(struct ath_softc *sc, struct ieee80211_hw *hw); | ||
683 | bool ath9k_uses_beacons(int type); | 682 | bool ath9k_uses_beacons(int type); |
684 | 683 | ||
685 | #ifdef CONFIG_ATH9K_PCI | 684 | #ifdef CONFIG_ATH9K_PCI |
diff --git a/drivers/net/wireless/ath/ath9k/calib.h b/drivers/net/wireless/ath/ath9k/calib.h index 05b9dbf81850..3b33996d97df 100644 --- a/drivers/net/wireless/ath/ath9k/calib.h +++ b/drivers/net/wireless/ath/ath9k/calib.h | |||
@@ -19,7 +19,6 @@ | |||
19 | 19 | ||
20 | #include "hw.h" | 20 | #include "hw.h" |
21 | 21 | ||
22 | #define AR_PHY_CCA_FILTERWINDOW_LENGTH_INIT 3 | ||
23 | #define AR_PHY_CCA_FILTERWINDOW_LENGTH 5 | 22 | #define AR_PHY_CCA_FILTERWINDOW_LENGTH 5 |
24 | 23 | ||
25 | #define NUM_NF_READINGS 6 | 24 | #define NUM_NF_READINGS 6 |