summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/p54
diff options
context:
space:
mode:
authorChristian Lamparter <chunkeey@web.de>2009-04-11 03:58:14 +0200
committerJohn W. Linville <linville@tuxdriver.com>2009-04-22 22:54:45 +0200
commit4312a86b6840bca503603e918996b139fa3293ba (patch)
tree5eab517514d56a2b2573c495545de38e128380df /drivers/net/wireless/p54
parentp54: utilize all available key slots for decryption offload (diff)
downloadlinux-4312a86b6840bca503603e918996b139fa3293ba.tar.xz
linux-4312a86b6840bca503603e918996b139fa3293ba.zip
p54: remove obsolet signal quality calculation
The signal quality percentage is now calculated by mac80211 stack. Signed-off-by: Christian Lamparter <chunkeey@web.de> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/p54')
-rw-r--r--drivers/net/wireless/p54/p54common.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/wireless/p54/p54common.c b/drivers/net/wireless/p54/p54common.c
index 7bd4fdf83349..b18fc93a8bce 100644
--- a/drivers/net/wireless/p54/p54common.c
+++ b/drivers/net/wireless/p54/p54common.c
@@ -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)