From 8ed3b579b950c326fe7954bf1e102868969e589a Mon Sep 17 00:00:00 2001 From: Nitesh Shah Date: Sat, 17 Dec 2016 13:27:05 +0530 Subject: [PATCH] qcacld-3.0: Define gVdevTypeNss_2g and VdevTypeNss_5g as Hex The ini parameters gVdevTypeNss_2g and VdevTypeNss_5g is defined as Integer, but it need to be used as hex inputs. The fix is to define the type for both ini as Hex. Change-Id: Ic0adb8287652ab1dcc89107e1610637342c426ec CRs-Fixed: 1102612 --- core/hdd/src/wlan_hdd_cfg.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/hdd/src/wlan_hdd_cfg.c b/core/hdd/src/wlan_hdd_cfg.c index 015faf43c39d..9b00445d659d 100644 --- a/core/hdd/src/wlan_hdd_cfg.c +++ b/core/hdd/src/wlan_hdd_cfg.c @@ -2029,7 +2029,7 @@ REG_TABLE_ENTRY g_registry_table[] = { CFG_VHT_ENABLE_2x2_CAP_FEATURE_MIN, CFG_VHT_ENABLE_2x2_CAP_FEATURE_MAX), - REG_VARIABLE(CFG_VDEV_TYPE_NSS_2G, WLAN_PARAM_Integer, + REG_VARIABLE(CFG_VDEV_TYPE_NSS_2G, WLAN_PARAM_HexInteger, struct hdd_config, vdev_type_nss_2g, VAR_FLAGS_OPTIONAL | VAR_FLAGS_RANGE_CHECK_ASSUME_DEFAULT, CFG_VDEV_TYPE_NSS_2G_DEFAULT, @@ -2043,7 +2043,7 @@ REG_TABLE_ENTRY g_registry_table[] = { CFG_STA_PREFER_80MHZ_OVER_160MHZ_MIN, CFG_STA_PREFER_80MHZ_OVER_160MHZ_MAX), - REG_VARIABLE(CFG_VDEV_TYPE_NSS_5G, WLAN_PARAM_Integer, + REG_VARIABLE(CFG_VDEV_TYPE_NSS_5G, WLAN_PARAM_HexInteger, struct hdd_config, vdev_type_nss_5g, VAR_FLAGS_OPTIONAL | VAR_FLAGS_RANGE_CHECK_ASSUME_DEFAULT, CFG_VDEV_TYPE_NSS_5G_DEFAULT,