qcacld-3.0: Rename hdd_station_ctx staDebugState field

Per the Linux coding style "mixed-case names are frowned upon" so
rename field staDebugState in struct hdd_station_ctx.

Change-Id: Iab6712fac703b0a610226805a83349406e4109c9
CRs-Fixed: 2132661
This commit is contained in:
Jeff Johnson
2017-10-25 12:39:44 -07:00
committed by snandini
parent 690fe95c47
commit 8380f231b3
2 changed files with 8 additions and 8 deletions

View File

@@ -640,7 +640,7 @@ struct hdd_mon_set_ch_info {
* @ibss_enc_key_installed is %true) * @ibss_enc_key_installed is %true)
* @ibss_peer_info: information about the ibss peer * @ibss_peer_info: information about the ibss peer
* @hdd_reassoc_scenario: is station in the middle of reassociation? * @hdd_reassoc_scenario: is station in the middle of reassociation?
* @staDebugState: STA context debug variable * @sta_debug_state: STA context debug variable
* @broadcast_staid: STA ID assigned for broadcast frames * @broadcast_staid: STA ID assigned for broadcast frames
* @ch_info: monitor mode channel information * @ch_info: monitor mode channel information
* @ndp_ctx: NAN data path context * @ndp_ctx: NAN data path context
@@ -659,7 +659,7 @@ struct hdd_station_ctx {
tCsrRoamSetKey ibss_enc_key; tCsrRoamSetKey ibss_enc_key;
tSirPeerInfoRspParams ibss_peer_info; tSirPeerInfoRspParams ibss_peer_info;
bool hdd_reassoc_scenario; bool hdd_reassoc_scenario;
int staDebugState; int sta_debug_state;
uint8_t broadcast_staid; uint8_t broadcast_staid;
struct hdd_mon_set_ch_info ch_info; struct hdd_mon_set_ch_info ch_info;
#if defined(WLAN_FEATURE_NAN_DATAPATH) && !defined(WLAN_FEATURE_NAN_CONVERGENCE) #if defined(WLAN_FEATURE_NAN_DATAPATH) && !defined(WLAN_FEATURE_NAN_CONVERGENCE)

View File

@@ -17004,7 +17004,7 @@ int wlan_hdd_try_disconnect(struct hdd_adapter *adapter)
} else if (0 != status) { } else if (0 != status) {
hdd_err("sme_roam_disconnect failure, status: %d", hdd_err("sme_roam_disconnect failure, status: %d",
(int)status); (int)status);
sta_ctx->staDebugState = status; sta_ctx->sta_debug_state = status;
result = -EINVAL; result = -EINVAL;
goto disconnected; goto disconnected;
} }
@@ -17013,8 +17013,8 @@ int wlan_hdd_try_disconnect(struct hdd_adapter *adapter)
&adapter->disconnect_comp_var, &adapter->disconnect_comp_var,
msecs_to_jiffies(WLAN_WAIT_TIME_DISCONNECT)); msecs_to_jiffies(WLAN_WAIT_TIME_DISCONNECT));
if (!rc && (QDF_STATUS_CMD_NOT_QUEUED != status)) { if (!rc && (QDF_STATUS_CMD_NOT_QUEUED != status)) {
hdd_err("Sme disconnect event timed out session Id: %d staDebugState: %d", hdd_err("Sme disconnect event timed out session Id: %d sta_debug_state: %d",
adapter->sessionId, sta_ctx->staDebugState); adapter->sessionId, sta_ctx->sta_debug_state);
result = -ETIMEDOUT; result = -ETIMEDOUT;
} }
} else if (eConnectionState_Disconnecting == } else if (eConnectionState_Disconnecting ==
@@ -17022,8 +17022,8 @@ int wlan_hdd_try_disconnect(struct hdd_adapter *adapter)
rc = wait_for_completion_timeout(&adapter->disconnect_comp_var, rc = wait_for_completion_timeout(&adapter->disconnect_comp_var,
msecs_to_jiffies(WLAN_WAIT_TIME_DISCONNECT)); msecs_to_jiffies(WLAN_WAIT_TIME_DISCONNECT));
if (!rc) { if (!rc) {
hdd_err("Disconnect event timed out session Id: %d staDebugState: %d", hdd_err("Disconnect event timed out session Id: %d sta_debug_state: %d",
adapter->sessionId, sta_ctx->staDebugState); adapter->sessionId, sta_ctx->sta_debug_state);
result = -ETIMEDOUT; result = -ETIMEDOUT;
} }
} }
@@ -17420,7 +17420,7 @@ static int wlan_hdd_disconnect(struct hdd_adapter *adapter, u16 reason)
hdd_debug("Already disconnected or connect was in sme/roam pending list and removed by disconnect"); hdd_debug("Already disconnected or connect was in sme/roam pending list and removed by disconnect");
} else if (0 != status) { } else if (0 != status) {
hdd_err("csr_roam_disconnect failure, status: %d", (int)status); hdd_err("csr_roam_disconnect failure, status: %d", (int)status);
sta_ctx->staDebugState = status; sta_ctx->sta_debug_state = status;
result = -EINVAL; result = -EINVAL;
goto disconnected; goto disconnected;
} }