qcacld-3.0: Remove isESEConnection from hdd_wext_state_t

Currently hdd_wext_state_t defines field isESEConnection, but this
field is only written in one place and never read, hence it is
obsolete, so remove it.

Change-Id: Ia110a11ae968b28b2c74e5b77b4bcca21f69a78f
CRs-Fixed: 2094516
This commit is contained in:
Jeff Johnson 2017-08-16 11:19:52 -07:00 • committed by Anjaneedevi Kapparapu
commit d084adb90f
2 changed files with 1 additions and 9 deletions

View file

@ -272,10 +272,6 @@ typedef struct hdd_wext_state_s {
/**Counter measure state, Started/Stopped*/
bool mTKIPCounterMeasures;
#ifdef FEATURE_WLAN_ESE
/* ESE state variables */
bool isESEConnection;
#endif
} hdd_wext_state_t;
struct ccp_freq_chan_map {

View file

@ -6218,11 +6218,7 @@ static int __iw_set_auth(struct net_device *dev, struct iw_request_info *info,
* Right now, this breaks all ref to authKeyMgmt because
* our code doesn't realize it is a "bitfield"
*/
pWextState->authKeyMgmt |=
IW_AUTH_KEY_MGMT_CCKM;
/* Set the key management to 802.1X */
/* pWextState->authKeyMgmt = IW_AUTH_KEY_MGMT_802_1X; */
pWextState->isESEConnection = true;
pWextState->authKeyMgmt |= IW_AUTH_KEY_MGMT_CCKM;
} else if (wrqu->param.value & IW_AUTH_KEY_MGMT_PSK) {
/* Save the key management */
pWextState->authKeyMgmt |= IW_AUTH_KEY_MGMT_PSK;