mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-28 07:04:00 +08:00
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;
|
||||
|
||||
/*
|
||||
* 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;
|
||||
|
Loading…
Reference in New Issue
Block a user