mirror of https://gitee.com/openkylin/linux.git
wl1251: remove usage of deprecated noise value
Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
parent
6ca4fed3d4
commit
446cfaa412
|
@ -73,12 +73,6 @@ static void wl1251_rx_status(struct wl1251 *wl,
|
||||||
|
|
||||||
status->signal = desc->rssi;
|
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->freq = ieee80211_channel_to_frequency(desc->channel);
|
||||||
|
|
||||||
status->flag |= RX_FLAG_TSFT;
|
status->flag |= RX_FLAG_TSFT;
|
||||||
|
|
Loading…
Reference in New Issue