ath9k: remove usage of deprecated noise value
authorJohn W. Linville <linville@tuxdriver.com>
Mon, 26 Apr 2010 20:09:21 +0000 (16:09 -0400)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 28 Apr 2010 20:48:21 +0000 (16:48 -0400)
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/common.c

index 09effdedc8c085eb64d482d9147e0a9881d5386f..b4424a623cf5d2b0aa80019b906237183984c799 100644 (file)
@@ -212,7 +212,6 @@ int ath9k_cmn_rx_skb_preprocess(struct ath_common *common,
        rx_status->mactime = ath9k_hw_extend_tsf(ah, rx_stats->rs_tstamp);
        rx_status->band = hw->conf.channel->band;
        rx_status->freq = hw->conf.channel->center_freq;
-       rx_status->noise = common->ani.noise_floor;
        rx_status->signal = ATH_DEFAULT_NOISE_FLOOR + rx_stats->rs_rssi;
        rx_status->antenna = rx_stats->rs_antenna;
        rx_status->flag |= RX_FLAG_TSFT;