projects
/
platform
/
kernel
/
linux-exynos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6dfe9a8
)
p54: remove obsolet signal quality calculation
author
Christian Lamparter
<chunkeey@web.de>
Sat, 11 Apr 2009 01:58:14 +0000
(
03:58
+0200)
committer
John W. Linville
<linville@tuxdriver.com>
Wed, 22 Apr 2009 20:54:45 +0000
(16:54 -0400)
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>
drivers/net/wireless/p54/p54common.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/p54/p54common.c
b/drivers/net/wireless/p54/p54common.c
index
7bd4fdf
..
b18fc93
100644
(file)
--- 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)