qcacld-3.0: Remove struct hdd_ap_ctx field uIsAuthenticated

Field uIsAuthenticated in struct hdd_ap_ctx is written but never read.
And when the interface is in AP mode it is the master doing the
authenticating, so this field doesn't even make sense, so remove it.

Change-Id: Ib03a4b80f61c0cb32486cf3f8a9bd6744ea5edee
CRs-Fixed: 2134922
这个提交包含在:
Jeff Johnson
2017-10-27 14:37:18 -07:00
提交者 snandini
父节点 c8d94a1ad1
当前提交 03653f1acb
修改 2 个文件,包含 0 行新增6 行删除

查看文件

@@ -829,8 +829,6 @@ struct hdd_ap_ctx {
uint8_t operatingChannel;
bool uIsAuthenticated;
eCsrEncryptionType ucEncryptType;
/* This will point to group key data,

查看文件

@@ -964,7 +964,6 @@ QDF_STATUS hdd_softap_register_sta(struct hdd_adapter *adapter,
OL_TXRX_PEER_STATE_AUTH, false);
adapter->sta_info[staId].peer_state = OL_TXRX_PEER_STATE_AUTH;
adapter->sessionCtx.ap.uIsAuthenticated = true;
} else {
hdd_info("ULA auth StaId= %d. Changing TL state to CONNECTED at Join time",
@@ -973,9 +972,6 @@ QDF_STATUS hdd_softap_register_sta(struct hdd_adapter *adapter,
qdf_status = hdd_change_peer_state(adapter, staDesc.sta_id,
OL_TXRX_PEER_STATE_CONN, false);
adapter->sta_info[staId].peer_state = OL_TXRX_PEER_STATE_CONN;
adapter->sessionCtx.ap.uIsAuthenticated = false;
}
hdd_debug("Enabling queues");