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

Commit 4312a86b authored by Christian Lamparter's avatar Christian Lamparter Committed by John W. Linville
Browse files

p54: remove obsolet signal quality calculation



The signal quality percentage is now calculated by mac80211 stack.

Signed-off-by: default avatarChristian Lamparter <chunkeey@web.de>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 6dfe9a88
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -769,8 +769,6 @@ static int p54_rx_data(struct ieee80211_hw *dev, struct sk_buff *skb)

	rx_status.signal = p54_rssi_to_dbm(dev, hdr->rssi);
	rx_status.noise = priv->noise;
	/* XX correct? */
	rx_status.qual = (100 * hdr->rssi) / 127;
	if (hdr->rate & 0x10)
		rx_status.flag |= RX_FLAG_SHORTPRE;
	if (dev->conf.channel->band == IEEE80211_BAND_5GHZ)