diff options
author | Ivo van Doorn <ivdoorn@gmail.com> | 2008-12-20 04:59:29 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-01-29 15:58:41 -0500 |
commit | 2bdb35c7ffb61f4b9d963dd447a2c54add5f02c5 (patch) | |
tree | 5e281ca7c4af4072957623c8cae1210058cbef21 /drivers/net/wireless/rt2x00/rt2x00dev.c | |
parent | 076f9582a6b82e54339ee815130315744b730787 (diff) |
rt2x00: Allow drivers to pass the noise value during rxdone
Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt2x00dev.c')
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2x00dev.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2x00dev.c b/drivers/net/wireless/rt2x00/rt2x00dev.c index 8c0dae530aef..c7bd212656df 100644 --- a/drivers/net/wireless/rt2x00/rt2x00dev.c +++ b/drivers/net/wireless/rt2x00/rt2x00dev.c | |||
@@ -407,6 +407,7 @@ void rt2x00lib_rxdone(struct rt2x00_dev *rt2x00dev, | |||
407 | rx_status->rate_idx = idx; | 407 | rx_status->rate_idx = idx; |
408 | rx_status->qual = rt2x00link_calculate_signal(rt2x00dev, rxdesc.rssi); | 408 | rx_status->qual = rt2x00link_calculate_signal(rt2x00dev, rxdesc.rssi); |
409 | rx_status->signal = rxdesc.rssi; | 409 | rx_status->signal = rxdesc.rssi; |
410 | rx_status->noise = rxdesc.noise; | ||
410 | rx_status->flag = rxdesc.flags; | 411 | rx_status->flag = rxdesc.flags; |
411 | rx_status->antenna = rt2x00dev->link.ant.active.rx; | 412 | rx_status->antenna = rt2x00dev->link.ant.active.rx; |
412 | 413 | ||