aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/mwl8k.c
diff options
context:
space:
mode:
authorJohn W. Linville <linville@tuxdriver.com>2010-04-26 16:09:16 -0400
committerJohn W. Linville <linville@tuxdriver.com>2010-04-28 16:48:19 -0400
commit3377d1b903e50d58a6aecf495092b6e1ffc0cd32 (patch)
tree7c95a1d7370f2b6f55116f2405da1b776558ae99 /drivers/net/wireless/mwl8k.c
parenta2c40249a36d0b4d76d1caf6bf806e4ae5b06e8a (diff)
mwl8k: remove usage of deprecated noise value
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/mwl8k.c')
-rw-r--r--drivers/net/wireless/mwl8k.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/wireless/mwl8k.c b/drivers/net/wireless/mwl8k.c
index 4e58ebe15580..9af6c9454605 100644
--- a/drivers/net/wireless/mwl8k.c
+++ b/drivers/net/wireless/mwl8k.c
@@ -749,7 +749,6 @@ mwl8k_rxd_8366_ap_process(void *_rxd, struct ieee80211_rx_status *status,
749 memset(status, 0, sizeof(*status)); 749 memset(status, 0, sizeof(*status));
750 750
751 status->signal = -rxd->rssi; 751 status->signal = -rxd->rssi;
752 status->noise = -rxd->noise_floor;
753 752
754 if (rxd->rate & MWL8K_8366_AP_RATE_INFO_MCS_FORMAT) { 753 if (rxd->rate & MWL8K_8366_AP_RATE_INFO_MCS_FORMAT) {
755 status->flag |= RX_FLAG_HT; 754 status->flag |= RX_FLAG_HT;
@@ -851,7 +850,6 @@ mwl8k_rxd_sta_process(void *_rxd, struct ieee80211_rx_status *status,
851 memset(status, 0, sizeof(*status)); 850 memset(status, 0, sizeof(*status));
852 851
853 status->signal = -rxd->rssi; 852 status->signal = -rxd->rssi;
854 status->noise = -rxd->noise_level;
855 status->antenna = MWL8K_STA_RATE_INFO_ANTSELECT(rate_info); 853 status->antenna = MWL8K_STA_RATE_INFO_ANTSELECT(rate_info);
856 status->rate_idx = MWL8K_STA_RATE_INFO_RATEID(rate_info); 854 status->rate_idx = MWL8K_STA_RATE_INFO_RATEID(rate_info);
857 855