summaryrefslogtreecommitdiff
path: root/lib/mpi/mpiutil.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2015-08-28 10:52:53 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-12-09 13:42:57 -0500
commit66f7cf4bcc98dc5f1cccd6e413bcc299a1392c51 (patch)
treedfffe41613b07f01b5610716e112c27911a1b82d /lib/mpi/mpiutil.c
parentb305fc000e2b8462faed42e059229ccc3160810f (diff)
mac80211: fix driver RSSI event calculations
commit 8ec6d97871f37e4743678ea4a455bd59580aa0f4 upstream. The ifmgd->ave_beacon_signal value cannot be taken as is for comparisons, it must be divided by since it's represented like that for better accuracy of the EWMA calculations. This would lead to invalid driver RSSI events. Fix the used value. Fixes: 615f7b9bb1f8 ("mac80211: add driver RSSI threshold events") Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions