瀏覽代碼

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 年之前
父節點
當前提交
4ec11bbdf2
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      components/mlme/dispatcher/inc/cfg_mlme_stats.h

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