diff options
Diffstat (limited to 'drivers/net/wireless/mwl8k.c')
-rw-r--r-- | drivers/net/wireless/mwl8k.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/net/wireless/mwl8k.c b/drivers/net/wireless/mwl8k.c index 73bbd080c6e7..808adb909095 100644 --- a/drivers/net/wireless/mwl8k.c +++ b/drivers/net/wireless/mwl8k.c | |||
@@ -750,7 +750,6 @@ mwl8k_rxd_8366_ap_process(void *_rxd, struct ieee80211_rx_status *status, | |||
750 | memset(status, 0, sizeof(*status)); | 750 | memset(status, 0, sizeof(*status)); |
751 | 751 | ||
752 | status->signal = -rxd->rssi; | 752 | status->signal = -rxd->rssi; |
753 | status->noise = -rxd->noise_floor; | ||
754 | 753 | ||
755 | if (rxd->rate & MWL8K_8366_AP_RATE_INFO_MCS_FORMAT) { | 754 | if (rxd->rate & MWL8K_8366_AP_RATE_INFO_MCS_FORMAT) { |
756 | status->flag |= RX_FLAG_HT; | 755 | status->flag |= RX_FLAG_HT; |
@@ -852,7 +851,6 @@ mwl8k_rxd_sta_process(void *_rxd, struct ieee80211_rx_status *status, | |||
852 | memset(status, 0, sizeof(*status)); | 851 | memset(status, 0, sizeof(*status)); |
853 | 852 | ||
854 | status->signal = -rxd->rssi; | 853 | status->signal = -rxd->rssi; |
855 | status->noise = -rxd->noise_level; | ||
856 | status->antenna = MWL8K_STA_RATE_INFO_ANTSELECT(rate_info); | 854 | status->antenna = MWL8K_STA_RATE_INFO_ANTSELECT(rate_info); |
857 | status->rate_idx = MWL8K_STA_RATE_INFO_RATEID(rate_info); | 855 | status->rate_idx = MWL8K_STA_RATE_INFO_RATEID(rate_info); |
858 | 856 | ||
@@ -3984,8 +3982,8 @@ static int __devinit mwl8k_probe(struct pci_dev *pdev, | |||
3984 | 3982 | ||
3985 | hw->queues = MWL8K_TX_QUEUES; | 3983 | hw->queues = MWL8K_TX_QUEUES; |
3986 | 3984 | ||
3987 | /* Set rssi and noise values to dBm */ | 3985 | /* Set rssi values to dBm */ |
3988 | hw->flags |= IEEE80211_HW_SIGNAL_DBM | IEEE80211_HW_NOISE_DBM; | 3986 | hw->flags |= IEEE80211_HW_SIGNAL_DBM; |
3989 | hw->vif_data_size = sizeof(struct mwl8k_vif); | 3987 | hw->vif_data_size = sizeof(struct mwl8k_vif); |
3990 | hw->sta_data_size = sizeof(struct mwl8k_sta); | 3988 | hw->sta_data_size = sizeof(struct mwl8k_sta); |
3991 | 3989 | ||