Skip to content
Snippets Groups Projects
Commit 446cfaa4 authored by John W. Linville's avatar John W. Linville
Browse files

wl1251: remove usage of deprecated noise value

parent 6ca4fed3
No related merge requests found
...@@ -73,12 +73,6 @@ static void wl1251_rx_status(struct wl1251 *wl, ...@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment