summaryrefslogtreecommitdiff
path: root/crypto/rng.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2015-08-28 10:52:53 +0200
committerJohannes Berg <johannes.berg@intel.com>2015-09-22 15:21:26 +0200
commit8ec6d97871f37e4743678ea4a455bd59580aa0f4 (patch)
tree89e05759ba2a02463a5c5c52b79d93977ec2910d /crypto/rng.c
parent8e0d7fe07c3f8c2a5e3b5bdbfdf09de4da2e2dd4 (diff)
mac80211: fix driver RSSI event calculations
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>
Diffstat (limited to 'crypto/rng.c')
0 files changed, 0 insertions, 0 deletions