]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ath9k: fix RSSI dummy marker value
authorFelix Fietkau <nbd@openwrt.org>
Fri, 22 Feb 2013 20:09:17 +0000 (21:09 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 27 Feb 2013 19:12:51 +0000 (14:12 -0500)
commita3d63cadbad97671d740a9698acc2c95d1ca6e79
tree86a62f8c3cf1d9e82c5ff0009da018c6b4c037cb
parent1615a7434e823ea5002934f6805a501082bf5d39
ath9k: fix RSSI dummy marker value

RSSI is being stored internally as s8 in several places. The indication
of an unset RSSI value, ATH_RSSI_DUMMY_MARKER, was supposed to have been
set to 127, but ended up being set to 0x127 because of a code cleanup
mistake. This could lead to invalid signal strength values in a few
places.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Cc: stable@vger.kernel.org
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/common.h