diff options
Diffstat (limited to 'drivers/net/wireless/ath/ar9170/main.c')
-rw-r--r-- | drivers/net/wireless/ath/ar9170/main.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/net/wireless/ath/ar9170/main.c b/drivers/net/wireless/ath/ar9170/main.c index 0312cee39570..2e9b330f6413 100644 --- a/drivers/net/wireless/ath/ar9170/main.c +++ b/drivers/net/wireless/ath/ar9170/main.c | |||
@@ -927,7 +927,6 @@ static void ar9170_rx_phy_status(struct ar9170 *ar, | |||
927 | 927 | ||
928 | /* TODO: we could do something with phy_errors */ | 928 | /* TODO: we could do something with phy_errors */ |
929 | status->signal = ar->noise[0] + phy->rssi_combined; | 929 | status->signal = ar->noise[0] + phy->rssi_combined; |
930 | status->noise = ar->noise[0]; | ||
931 | } | 930 | } |
932 | 931 | ||
933 | static struct sk_buff *ar9170_rx_copy_data(u8 *buf, int len) | 932 | static struct sk_buff *ar9170_rx_copy_data(u8 *buf, int len) |
@@ -2548,8 +2547,7 @@ void *ar9170_alloc(size_t priv_size) | |||
2548 | BIT(NL80211_IFTYPE_ADHOC); | 2547 | BIT(NL80211_IFTYPE_ADHOC); |
2549 | ar->hw->flags |= IEEE80211_HW_RX_INCLUDES_FCS | | 2548 | ar->hw->flags |= IEEE80211_HW_RX_INCLUDES_FCS | |
2550 | IEEE80211_HW_HOST_BROADCAST_PS_BUFFERING | | 2549 | IEEE80211_HW_HOST_BROADCAST_PS_BUFFERING | |
2551 | IEEE80211_HW_SIGNAL_DBM | | 2550 | IEEE80211_HW_SIGNAL_DBM; |
2552 | IEEE80211_HW_NOISE_DBM; | ||
2553 | 2551 | ||
2554 | if (modparam_ht) { | 2552 | if (modparam_ht) { |
2555 | ar->hw->flags |= IEEE80211_HW_AMPDU_AGGREGATION; | 2553 | ar->hw->flags |= IEEE80211_HW_AMPDU_AGGREGATION; |