git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
498abba
)
iwlwifi: mvm: fix an overflow in iwl_mvm_get_signal_strength
author
Eyal Shapira
<eyal@wizery.com>
Tue, 12 Aug 2014 21:26:17 +0000
(
00:26
+0300)
committer
Emmanuel Grumbach
<emmanuel.grumbach@intel.com>
Mon, 8 Sep 2014 16:47:22 +0000
(19:47 +0300)
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 <eyalx.shapira@intel.com>
Reviewed-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/iwlwifi/mvm/rx.c
patch
|
blob
|
history
diff --cc
drivers/net/wireless/iwlwifi/mvm/rx.c
Simple merge