iwlwifi: mvm: Avoid signal based decisions if ave beacon RSSI is 0
authorAlexander Bondar <alexander.bondar@intel.com>
Thu, 26 Mar 2015 11:15:03 +0000 (13:15 +0200)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Sun, 19 Apr 2015 14:06:57 +0000 (17:06 +0300)
commit8047cc0c584844817fbf3bf57cb18c1f762a7136
tree7a7916d8a7aace6dbc4dfda233cd68c49a83690f
parent1083fd7391e989be52022f0f338e9dadc048b063
iwlwifi: mvm: Avoid signal based decisions if ave beacon RSSI is 0

If for some reason statistics notification received from the firmware
reports 0 in average beacon RSSI value, then skip it and avoid signal
based decisions.

Signed-off-by: Alexander Bondar <alexander.bondar@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