mwl8k: remove usage of deprecated noise value
Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
parent
a2c40249a3
commit
3377d1b903
|
@ -749,7 +749,6 @@ mwl8k_rxd_8366_ap_process(void *_rxd, struct ieee80211_rx_status *status,
|
|||
memset(status, 0, sizeof(*status));
|
||||
|
||||
status->signal = -rxd->rssi;
|
||||
status->noise = -rxd->noise_floor;
|
||||
|
||||
if (rxd->rate & MWL8K_8366_AP_RATE_INFO_MCS_FORMAT) {
|
||||
status->flag |= RX_FLAG_HT;
|
||||
|
@ -851,7 +850,6 @@ mwl8k_rxd_sta_process(void *_rxd, struct ieee80211_rx_status *status,
|
|||
memset(status, 0, sizeof(*status));
|
||||
|
||||
status->signal = -rxd->rssi;
|
||||
status->noise = -rxd->noise_level;
|
||||
status->antenna = MWL8K_STA_RATE_INFO_ANTSELECT(rate_info);
|
||||
status->rate_idx = MWL8K_STA_RATE_INFO_RATEID(rate_info);
|
||||
|
||||
|
|
Loading…
Reference in New Issue