diff options
author | Felix Fietkau <nbd@openwrt.org> | 2010-09-29 15:15:29 (GMT) |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-10-05 17:35:22 (GMT) |
commit | 0bda652300dff8136c9d889f1133462c7c7d332c (patch) | |
tree | 05eae912871256e965e4e9419ed28b2c61d7eebf /drivers/net/wireless/ath/ath9k/init.c | |
parent | 4f1a5a4b62c5335aafd5830866320c8918103a3a (diff) | |
download | linux-fsl-qoriq-0bda652300dff8136c9d889f1133462c7c7d332c.tar.xz |
ath9k: remove the noise floor value in the ani struct
common->ani.noise_floor is now only used for a similar redundant debug
message similar to the one that was removed from ath9k_htc in an earlier
patch. Remove it from ath9k as well now.
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/init.c')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/init.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath9k/init.c b/drivers/net/wireless/ath/ath9k/init.c index de33938..11dc3ac 100644 --- a/drivers/net/wireless/ath/ath9k/init.c +++ b/drivers/net/wireless/ath/ath9k/init.c @@ -506,7 +506,6 @@ static void ath9k_init_misc(struct ath_softc *sc) struct ath_common *common = ath9k_hw_common(sc->sc_ah); int i = 0; - common->ani.noise_floor = ATH_DEFAULT_NOISE_FLOOR; setup_timer(&common->ani.timer, ath_ani_calibrate, (unsigned long)sc); sc->config.txpowlimit = ATH_TXPOWER_MAX; |