ar9170: remove usage of deprecated noise value
authorJohn W. Linville <linville@tuxdriver.com>
Mon, 26 Apr 2010 20:09:18 +0000 (16:09 -0400)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 28 Apr 2010 20:48:20 +0000 (16:48 -0400)
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ar9170/main.c

index fed6695ec04e4c1046cb43304f27b2bd25c5e269..cfc6a35a2c6a964a9e46c0014339ac6a060ecf9a 100644 (file)
@@ -926,7 +926,6 @@ static void ar9170_rx_phy_status(struct ar9170 *ar,
 
        /* TODO: we could do something with phy_errors */
        status->signal = ar->noise[0] + phy->rssi_combined;
-       status->noise = ar->noise[0];
 }
 
 static struct sk_buff *ar9170_rx_copy_data(u8 *buf, int len)