From: Eyal Shapira Date: Tue, 12 Aug 2014 21:26:17 +0000 (+0300) Subject: iwlwifi: mvm: fix an overflow in iwl_mvm_get_signal_strength X-Git-Tag: fixes-for-v3.18-merge-window~87^2~35^2~1^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2cddddc56a1179aa71b460ad616176c237d4a243;p=pandora-kernel.git 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 Reviewed-by: Johannes Berg Signed-off-by: Emmanuel Grumbach --- Reading git-diff-tree failed