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>
This commit is contained in:

committed by
John W. Linville

parent
e278c5a903
commit
9adc9e0ff3
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user