ath9k: fix RSSI dummy marker value
authorFelix Fietkau <nbd@openwrt.org>
Fri, 22 Feb 2013 20:09:17 +0000 (21:09 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 14 Mar 2013 18:26:21 +0000 (11:26 -0700)
commit7e928048028e71641cfa363cb742c961098ef606
tree90feb6ed99dff858f8e912a33c25158ee4b06749
parent556b1db438e71bd2dddf638fec3c680eb9d19272
ath9k: fix RSSI dummy marker value

commit a3d63cadbad97671d740a9698acc2c95d1ca6e79 upstream.

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>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/wireless/ath/ath9k/common.h