From 0e5c732a91c90d63fbdc59d37caea1635b6c4488 Mon Sep 17 00:00:00 2001 From: Nitesh Shah Date: Thu, 23 Mar 2017 14:55:11 +0530 Subject: [PATCH] Revert "qcacld-3.0: Define gVdevTypeNss_2g and VdevTypeNss_5g as Hex" This reverts commit Ic0adb8287652ab1dcc89107e1610637342c426ec. Defining gVdevTypeNss_2g and VdevTypeNss_5g as Integer. Change-Id: Ia07c50dde2af4e6d47b844fa100fad4aaae93eab CRs-Fixed: 2023756 --- 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 3682f2efadfb..a27e0b7f885e 100644 --- a/core/hdd/src/wlan_hdd_cfg.c +++ b/core/hdd/src/wlan_hdd_cfg.c @@ -2024,7 +2024,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_HexInteger, + REG_VARIABLE(CFG_VDEV_TYPE_NSS_2G, WLAN_PARAM_Integer, struct hdd_config, vdev_type_nss_2g, VAR_FLAGS_OPTIONAL | VAR_FLAGS_RANGE_CHECK_ASSUME_DEFAULT, CFG_VDEV_TYPE_NSS_2G_DEFAULT, @@ -2038,7 +2038,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_HexInteger, + REG_VARIABLE(CFG_VDEV_TYPE_NSS_5G, WLAN_PARAM_Integer, struct hdd_config, vdev_type_nss_5g, VAR_FLAGS_OPTIONAL | VAR_FLAGS_RANGE_CHECK_ASSUME_DEFAULT, CFG_VDEV_TYPE_NSS_5G_DEFAULT,