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

index b56732226cc09943638b976b0e4c95114ad7b15a..295203aff66ed95ce2acb5022412a514cde96cf2 100644 (file)
@@ -73,12 +73,6 @@ static void wl1251_rx_status(struct wl1251 *wl,
 
        status->signal = desc->rssi;
 
-       /*
-        * FIXME: guessing that snr needs to be divided by two, otherwise
-        * the values don't make any sense
-        */
-       status->noise = desc->rssi - desc->snr / 2;
-
        status->freq = ieee80211_channel_to_frequency(desc->channel);
 
        status->flag |= RX_FLAG_TSFT;