From 4ec11bbdf2bd52fd756a2decfd9016e0f7576583 Mon Sep 17 00:00:00 2001 From: bings Date: Sat, 21 Sep 2019 02:49:10 +0800 Subject: [PATCH] qcacld-3.0: fix max of gReportMaxLinkSpeed The max value of gReportMaxLinkSpeed should be CFG_STATS_LINK_SPEED_REPORT_MAX_SCALED. Set the max value of gReportMaxLinkSpeed to CFG_STATS_LINK_SPEED_REPORT_MAX_SCALED, otherwise gReportMaxLinkSpeed does not work. Change-Id: I164de224a4f4bfdd2dea55fe0a943fc4884326ff CRs-Fixed: 2532054 --- components/mlme/dispatcher/inc/cfg_mlme_stats.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/mlme/dispatcher/inc/cfg_mlme_stats.h b/components/mlme/dispatcher/inc/cfg_mlme_stats.h index b98b652f1d74..613cb68770a2 100644 --- a/components/mlme/dispatcher/inc/cfg_mlme_stats.h +++ b/components/mlme/dispatcher/inc/cfg_mlme_stats.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2012-2018 The Linux Foundation. All rights reserved. + * Copyright (c) 2012-2019 The Linux Foundation. All rights reserved. * * Permission to use, copy, modify, and/or distribute this software for * any purpose with or without fee is hereby granted, provided that the @@ -96,7 +96,7 @@ enum mlme_stats_link_speed_rpt_type { #define CFG_REPORT_MAX_LINK_SPEED CFG_INI_UINT( \ "gReportMaxLinkSpeed", \ CFG_STATS_LINK_SPEED_REPORT_ACTUAL, \ - CFG_STATS_LINK_SPEED_REPORT_ACTUAL, \ + CFG_STATS_LINK_SPEED_REPORT_MAX_SCALED, \ CFG_STATS_LINK_SPEED_REPORT_MAX_SCALED, \ CFG_VALUE_OR_DEFAULT, \ "Max link speed")