From 21b7b8bd49ec8a4615bf4c954b5b9865462c9838 Mon Sep 17 00:00:00 2001 From: lifeng Date: Thu, 22 Jun 2017 17:32:21 +0800 Subject: [PATCH] qcacld-3.0: Change ssidHidden variable type as tHiddenssId enum Change ssidHidden variable type as tHiddenssId enum instead of original boolean type in tagCsrSSIDInfo structure to backup the value from hdd (eg: eHIDDEN_SSID_NOT_IN_USE, eHIDDEN_SSID_ZERO_LEN, eHIDDEN_SSID_ZERO_CONTENTS). Change-Id: Ibc88c80856984b1b61e2fbe489219b391900dad3 CRs-Fixed: 2065342 --- core/mac/inc/ani_global.h | 5 ----- core/sme/inc/csr_api.h | 8 +++++++- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/core/mac/inc/ani_global.h b/core/mac/inc/ani_global.h index 6fe6ab4e0059..fe6910e379cd 100644 --- a/core/mac/inc/ani_global.h +++ b/core/mac/inc/ani_global.h @@ -977,11 +977,6 @@ typedef struct sAniSirGlobal { bool ignore_assoc_disallowed; } tAniSirGlobal; -typedef enum { - eHIDDEN_SSID_NOT_IN_USE, - eHIDDEN_SSID_ZERO_LEN, - eHIDDEN_SSID_ZERO_CONTENTS -} tHiddenssId; #ifdef FEATURE_WLAN_TDLS diff --git a/core/sme/inc/csr_api.h b/core/sme/inc/csr_api.h index 819e3bdf87ec..5bb040bd5de6 100644 --- a/core/sme/inc/csr_api.h +++ b/core/sme/inc/csr_api.h @@ -237,10 +237,16 @@ typedef struct tagCsrChannelInfo { uint8_t *ChannelList; /* it will be an array of channels */ } tCsrChannelInfo, *tpCsrChannelInfo; +typedef enum { + eHIDDEN_SSID_NOT_IN_USE, + eHIDDEN_SSID_ZERO_LEN, + eHIDDEN_SSID_ZERO_CONTENTS +} tHiddenssId; + typedef struct tagCsrSSIDInfo { tSirMacSSid SSID; bool handoffPermitted; - bool ssidHidden; + tHiddenssId ssidHidden; } tCsrSSIDInfo; typedef struct tagCsrSSIDs {