Commit 3377d1b9 authored by John W. Linville's avatar John W. Linville

mwl8k: remove usage of deprecated noise value

Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent a2c40249
...@@ -749,7 +749,6 @@ mwl8k_rxd_8366_ap_process(void *_rxd, struct ieee80211_rx_status *status, ...@@ -749,7 +749,6 @@ mwl8k_rxd_8366_ap_process(void *_rxd, struct ieee80211_rx_status *status,
memset(status, 0, sizeof(*status)); memset(status, 0, sizeof(*status));
status->signal = -rxd->rssi; status->signal = -rxd->rssi;
status->noise = -rxd->noise_floor;
if (rxd->rate & MWL8K_8366_AP_RATE_INFO_MCS_FORMAT) { if (rxd->rate & MWL8K_8366_AP_RATE_INFO_MCS_FORMAT) {
status->flag |= RX_FLAG_HT; status->flag |= RX_FLAG_HT;
...@@ -851,7 +850,6 @@ mwl8k_rxd_sta_process(void *_rxd, struct ieee80211_rx_status *status, ...@@ -851,7 +850,6 @@ mwl8k_rxd_sta_process(void *_rxd, struct ieee80211_rx_status *status,
memset(status, 0, sizeof(*status)); memset(status, 0, sizeof(*status));
status->signal = -rxd->rssi; status->signal = -rxd->rssi;
status->noise = -rxd->noise_level;
status->antenna = MWL8K_STA_RATE_INFO_ANTSELECT(rate_info); status->antenna = MWL8K_STA_RATE_INFO_ANTSELECT(rate_info);
status->rate_idx = MWL8K_STA_RATE_INFO_RATEID(rate_info); status->rate_idx = MWL8K_STA_RATE_INFO_RATEID(rate_info);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment