From: John W. Linville Date: Mon, 26 Apr 2010 20:09:28 +0000 (-0400) Subject: wl1251: remove usage of deprecated noise value X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=446cfaa412beef0dd6cb0edf3b4eaed34d824537;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git wl1251: remove usage of deprecated noise value Signed-off-by: John W. Linville --- 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, 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;