summaryrefslogtreecommitdiff
path: root/include/scsi/scsi.h
diff options
context:
space:
mode:
authorManoharan, Rajkumar <rmanohar@qca.qualcomm.com>2017-02-15 12:46:50 -0800
committerJohannes Berg <johannes.berg@intel.com>2017-03-06 09:21:46 +0100
commitfe56c9c17b09769691e8b91747b32aa2555bef35 (patch)
tree835f117b1b17c3ab4b3c1cfb5d13ed55aa0ce549 /include/scsi/scsi.h
parent75b99bc300463e65f87c90425704c2688489f963 (diff)
downloadlwn-fe56c9c17b09769691e8b91747b32aa2555bef35.tar.gz
lwn-fe56c9c17b09769691e8b91747b32aa2555bef35.zip
mac80211: fix mesh fail_avg check
Mesh failure average never be more than 100. Only in case of fixed path, average will be more than threshold limit (95%). With recent EWMA changes it may go upto 99 as it is scaled to 100. It make sense to return maximum metric when average is greater than threshold limit. Signed-off-by: Rajkumar Manoharan <rmanohar@qca.qualcomm.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'include/scsi/scsi.h')
0 files changed, 0 insertions, 0 deletions