mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 15:11:48 -04:00
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:
parent
1d782ed430
commit
d084adb90f
2 changed files with 1 additions and 9 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue