qcacld-3.0: Fix logs of Start BSS failure
If start bss fail in logs it indicate start BSS timeout, so fix the logs to indicate proper logs. Change-Id: Ie470550a1606a1cddd6577f0945386e8c1a5cc13 CRs-Fixed: 2655836
This commit is contained in:
parent
127f059292
commit
b4da5e84c6
@ -5715,11 +5715,15 @@ int wlan_hdd_cfg80211_start_bss(struct hdd_adapter *adapter,
|
||||
|
||||
wlansap_reset_sap_config_add_ie(config, eUPDATE_IE_ALL);
|
||||
|
||||
if (!QDF_IS_STATUS_SUCCESS(qdf_status) ||
|
||||
!QDF_IS_STATUS_SUCCESS(hostapd_state->qdf_status)) {
|
||||
if (QDF_IS_STATUS_ERROR(qdf_status) ||
|
||||
QDF_IS_STATUS_ERROR(hostapd_state->qdf_status)) {
|
||||
mutex_unlock(&hdd_ctx->sap_lock);
|
||||
|
||||
hdd_err("qdf wait for single_event failed!!");
|
||||
if (QDF_IS_STATUS_ERROR(qdf_status))
|
||||
hdd_err("Wait for start BSS failed status %d",
|
||||
qdf_status);
|
||||
else
|
||||
hdd_err("Start BSS failed status %d",
|
||||
hostapd_state->qdf_status);
|
||||
hdd_set_connection_in_progress(false);
|
||||
sme_get_command_q_status(mac_handle);
|
||||
wlansap_stop_bss(WLAN_HDD_GET_SAP_CTX_PTR(adapter));
|
||||
|
@ -8308,8 +8308,8 @@ void sme_get_command_q_status(mac_handle_t mac_handle)
|
||||
if (pEntry)
|
||||
pTempCmd = GET_BASE_ADDR(pEntry, tSmeCmd, Link);
|
||||
|
||||
sme_err("WLAN_BUG_RCA: Currently smeCmdActiveList has command (0x%X)",
|
||||
(pTempCmd) ? pTempCmd->command : eSmeNoCommand);
|
||||
sme_info("smeCmdActiveList has command (0x%X)",
|
||||
(pTempCmd) ? pTempCmd->command : eSmeNoCommand);
|
||||
if (pTempCmd) {
|
||||
if (eSmeCsrCommandMask & pTempCmd->command)
|
||||
/* CSR command is stuck. See what the reason code is
|
||||
@ -8318,8 +8318,8 @@ void sme_get_command_q_status(mac_handle_t mac_handle)
|
||||
dump_csr_command_info(mac, pTempCmd);
|
||||
} /* if(pTempCmd) */
|
||||
|
||||
sme_err("Currently smeCmdPendingList has %d commands",
|
||||
wlan_serialization_get_pending_list_count(mac->psoc, false));
|
||||
sme_info("smeCmdPendingList has %d commands",
|
||||
wlan_serialization_get_pending_list_count(mac->psoc, false));
|
||||
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user