qcacld-3.0: Rename LIM identifier isConnected
The Linux Coding Style frowns upon mixed-case names so rename LIM identifier isConnected to be compliant. Change-Id: I951dca2c7549fc9d24ad8d0f2e9c19e8dcfcdc0c CRs-Fixed: 2422198
This commit is contained in:
@@ -395,7 +395,7 @@ static void lim_process_auth_frame_type1(struct mac_context *mac_ctx,
|
|||||||
if (sta_ds_ptr) {
|
if (sta_ds_ptr) {
|
||||||
tLimMlmDisassocReq *pMlmDisassocReq = NULL;
|
tLimMlmDisassocReq *pMlmDisassocReq = NULL;
|
||||||
tLimMlmDeauthReq *pMlmDeauthReq = NULL;
|
tLimMlmDeauthReq *pMlmDeauthReq = NULL;
|
||||||
bool isConnected = true;
|
bool is_connected = true;
|
||||||
|
|
||||||
pMlmDisassocReq =
|
pMlmDisassocReq =
|
||||||
mac_ctx->lim.limDisassocDeauthCnfReq.pMlmDisassocReq;
|
mac_ctx->lim.limDisassocDeauthCnfReq.pMlmDisassocReq;
|
||||||
@@ -408,7 +408,7 @@ static void lim_process_auth_frame_type1(struct mac_context *mac_ctx,
|
|||||||
MAC_ADDR_ARRAY(
|
MAC_ADDR_ARRAY(
|
||||||
pMlmDisassocReq->peer_macaddr.bytes));
|
pMlmDisassocReq->peer_macaddr.bytes));
|
||||||
lim_process_disassoc_ack_timeout(mac_ctx);
|
lim_process_disassoc_ack_timeout(mac_ctx);
|
||||||
isConnected = false;
|
is_connected = false;
|
||||||
}
|
}
|
||||||
pMlmDeauthReq =
|
pMlmDeauthReq =
|
||||||
mac_ctx->lim.limDisassocDeauthCnfReq.pMlmDeauthReq;
|
mac_ctx->lim.limDisassocDeauthCnfReq.pMlmDeauthReq;
|
||||||
@@ -421,11 +421,11 @@ static void lim_process_auth_frame_type1(struct mac_context *mac_ctx,
|
|||||||
MAC_ADDR_ARRAY(
|
MAC_ADDR_ARRAY(
|
||||||
pMlmDeauthReq->peer_macaddr.bytes));
|
pMlmDeauthReq->peer_macaddr.bytes));
|
||||||
lim_process_deauth_ack_timeout(mac_ctx);
|
lim_process_deauth_ack_timeout(mac_ctx);
|
||||||
isConnected = false;
|
is_connected = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* pStaDS != NULL and isConnected = 1 means the STA is already
|
* pStaDS != NULL and is_connected = 1 means the STA is already
|
||||||
* connected, But SAP received the Auth from that station.
|
* connected, But SAP received the Auth from that station.
|
||||||
* For non PMF connection send Deauth frame as STA will retry
|
* For non PMF connection send Deauth frame as STA will retry
|
||||||
* to connect back. The reason for above logic is captured in
|
* to connect back. The reason for above logic is captured in
|
||||||
@@ -438,7 +438,7 @@ static void lim_process_auth_frame_type1(struct mac_context *mac_ctx,
|
|||||||
* SA-Query procedure determines that the original SA is
|
* SA-Query procedure determines that the original SA is
|
||||||
* invalid.
|
* invalid.
|
||||||
*/
|
*/
|
||||||
if (isConnected
|
if (is_connected
|
||||||
#ifdef WLAN_FEATURE_11W
|
#ifdef WLAN_FEATURE_11W
|
||||||
&& !sta_ds_ptr->rmfEnabled
|
&& !sta_ds_ptr->rmfEnabled
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user