aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_subr.c
diff options
context:
space:
mode:
authorEyal Shapira <[email protected]>2014-08-13 00:26:17 +0300
committerEmmanuel Grumbach <[email protected]>2014-09-08 19:47:22 +0300
commit2cddddc56a1179aa71b460ad616176c237d4a243 (patch)
tree561e553def9c08cb629ecd051336e71d5c01fe05 /net/lapb/lapb_subr.c
parent498abba6a0b2bc7ed0b57772d664a549dcabc4d7 (diff)
iwlwifi: mvm: fix an overflow in iwl_mvm_get_signal_strength
The idea here is to translate a value of 0 received from the firmware to the lowest rssi figure. As rx_status->chain_signal is a signed byte the lowest possible value is -128 and not -256. -256 was causing 0 to get stored in the signed byte. Signed-off-by: Eyal Shapira <[email protected]> Reviewed-by: Johannes Berg <[email protected]> Signed-off-by: Emmanuel Grumbach <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions