diff options
author | John W. Linville <linville@tuxdriver.com> | 2010-04-26 16:09:28 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-04-28 16:48:22 -0400 |
commit | 446cfaa412beef0dd6cb0edf3b4eaed34d824537 (patch) | |
tree | e4b26b052385bde8c244d19c35b2652953834787 | |
parent | 6ca4fed3d4ec9887208ea955861fecde4b7a02a1 (diff) |
wl1251: remove usage of deprecated noise value
Signed-off-by: John W. Linville <linville@tuxdriver.com>
-rw-r--r-- | drivers/net/wireless/wl12xx/wl1251_rx.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/net/wireless/wl12xx/wl1251_rx.c b/drivers/net/wireless/wl12xx/wl1251_rx.c index b56732226cc0..295203aff66e 100644 --- a/drivers/net/wireless/wl12xx/wl1251_rx.c +++ b/drivers/net/wireless/wl12xx/wl1251_rx.c | |||
@@ -73,12 +73,6 @@ static void wl1251_rx_status(struct wl1251 *wl, | |||
73 | 73 | ||
74 | status->signal = desc->rssi; | 74 | status->signal = desc->rssi; |
75 | 75 | ||
76 | /* | ||
77 | * FIXME: guessing that snr needs to be divided by two, otherwise | ||
78 | * the values don't make any sense | ||
79 | */ | ||
80 | status->noise = desc->rssi - desc->snr / 2; | ||
81 | |||
82 | status->freq = ieee80211_channel_to_frequency(desc->channel); | 76 | status->freq = ieee80211_channel_to_frequency(desc->channel); |
83 | 77 | ||
84 | status->flag |= RX_FLAG_TSFT; | 78 | status->flag |= RX_FLAG_TSFT; |