diff options
author | Christian Lamparter <chunkeey@googlemail.com> | 2010-09-17 22:42:37 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-09-21 17:05:21 +0200 |
commit | 9adc9e0ff397fb2d4f383cc2d399b18adc32e6eb (patch) | |
tree | 64b9b6ef3ce64dbc179df66414ed0bb6d047e7ce /drivers/net/wireless/ath/carl9170/debug.c | |
parent | carl9170: fix noise dBm conversion (diff) | |
download | linux-9adc9e0ff397fb2d4f383cc2d399b18adc32e6eb.tar.xz linux-9adc9e0ff397fb2d4f383cc2d399b18adc32e6eb.zip |
carl9170: don't load bogus nf of chain 1
According to Atheros, chain 1 is not connected.
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/carl9170/debug.c')
-rw-r--r-- | drivers/net/wireless/ath/carl9170/debug.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/drivers/net/wireless/ath/carl9170/debug.c b/drivers/net/wireless/ath/carl9170/debug.c index 3e9b0e8b2b8c..19b48369ffed 100644 --- a/drivers/net/wireless/ath/carl9170/debug.c +++ b/drivers/net/wireless/ath/carl9170/debug.c @@ -436,12 +436,10 @@ static char *carl9170_debugfs_phy_noise_read(struct ar9170 *ar, char *buf, return buf; } - ADD(buf, *len, bufsize, "Chain 1: %10d dBm, ext. chan.:%10d dBm\n", - ar->noise[1], ar->noise[4]); + ADD(buf, *len, bufsize, "Chain 0: %10d dBm, ext. chan.:%10d dBm\n", + ar->noise[0], ar->noise[2]); ADD(buf, *len, bufsize, "Chain 2: %10d dBm, ext. chan.:%10d dBm\n", - ar->noise[2], ar->noise[5]); - ADD(buf, *len, bufsize, "Combined %10d dBm, ext. chan.:%10d dBm\n", - ar->noise[0], ar->noise[3]); + ar->noise[1], ar->noise[3]); return buf; } |