commit | fe56c9c17b09769691e8b91747b32aa2555bef35 | [log] [tgz] |
---|---|---|
author | Manoharan, Rajkumar <rmanohar@qca.qualcomm.com> | Wed Feb 15 12:46:50 2017 -0800 |
committer | Johannes Berg <johannes.berg@intel.com> | Mon Mar 06 09:21:46 2017 +0100 |
tree | 835f117b1b17c3ab4b3c1cfb5d13ed55aa0ce549 | |
parent | 75b99bc300463e65f87c90425704c2688489f963 [diff] |
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>