Эх сурвалжийг харах

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
bings 5 жил өмнө
parent
commit
4ec11bbdf2

+ 2 - 2
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")