summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/ath/ath9k/dfs.c
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2013-12-14 21:03:36 +0400
committerJohn W. Linville <linville@tuxdriver.com>2013-12-19 00:23:19 +0400
commite45e91d8812c1cd4dac98efd6fb6d0dd27fa3d4a (patch)
tree729b637e74af3de63b8ea177df6af7b6a5bf80ad /drivers/net/wireless/ath/ath9k/dfs.c
parentf40c46082717cea32ba1852c8217cbb9693fe80f (diff)
downloadlinux-e45e91d8812c1cd4dac98efd6fb6d0dd27fa3d4a.tar.xz
ath9k: add support for reporting per-chain signal strength
Signed-off-by: Felix Fietkau <nbd@openwrt.org> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/dfs.c')
-rw-r--r--drivers/net/wireless/ath/ath9k/dfs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/ath/ath9k/dfs.c b/drivers/net/wireless/ath/ath9k/dfs.c
index 7187d3671512..857bb28b3894 100644
--- a/drivers/net/wireless/ath/ath9k/dfs.c
+++ b/drivers/net/wireless/ath/ath9k/dfs.c
@@ -158,8 +158,8 @@ void ath9k_dfs_process_phyerr(struct ath_softc *sc, void *data,
return;
}
- ard.rssi = rs->rs_rssi_ctl0;
- ard.ext_rssi = rs->rs_rssi_ext0;
+ ard.rssi = rs->rs_rssi_ctl[0];
+ ard.ext_rssi = rs->rs_rssi_ext[0];
/*
* hardware stores this as 8 bit signed value.