Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 446cfaa4 authored by John W. Linville's avatar John W. Linville
Browse files

wl1251: remove usage of deprecated noise value

parent 6ca4fed3
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -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;