|
@@ -3693,8 +3693,8 @@ QDF_STATUS hdd_stop_adapter(hdd_context_t *hdd_ctx, hdd_adapter_t *adapter,
|
|
qdf_stop_bss_event);
|
|
qdf_stop_bss_event);
|
|
qdf_status =
|
|
qdf_status =
|
|
qdf_wait_single_event(&hostapd_state->
|
|
qdf_wait_single_event(&hostapd_state->
|
|
- qdf_stop_bss_event,
|
|
|
|
- BSS_WAIT_TIMEOUT);
|
|
|
|
|
|
+ qdf_stop_bss_event,
|
|
|
|
+ SME_CMD_TIMEOUT_VALUE);
|
|
|
|
|
|
if (!QDF_IS_STATUS_SUCCESS(qdf_status)) {
|
|
if (!QDF_IS_STATUS_SUCCESS(qdf_status)) {
|
|
hdd_err("failure waiting for wlansap_stop_bss %d",
|
|
hdd_err("failure waiting for wlansap_stop_bss %d",
|
|
@@ -9037,8 +9037,8 @@ void wlan_hdd_stop_sap(hdd_adapter_t *ap_adapter)
|
|
if (QDF_STATUS_SUCCESS == wlansap_stop_bss(hdd_ap_ctx->
|
|
if (QDF_STATUS_SUCCESS == wlansap_stop_bss(hdd_ap_ctx->
|
|
sapContext)) {
|
|
sapContext)) {
|
|
qdf_status = qdf_wait_single_event(&hostapd_state->
|
|
qdf_status = qdf_wait_single_event(&hostapd_state->
|
|
- qdf_stop_bss_event,
|
|
|
|
- BSS_WAIT_TIMEOUT);
|
|
|
|
|
|
+ qdf_stop_bss_event,
|
|
|
|
+ SME_CMD_TIMEOUT_VALUE);
|
|
if (!QDF_IS_STATUS_SUCCESS(qdf_status)) {
|
|
if (!QDF_IS_STATUS_SUCCESS(qdf_status)) {
|
|
mutex_unlock(&hdd_ctx->sap_lock);
|
|
mutex_unlock(&hdd_ctx->sap_lock);
|
|
hdd_err("SAP Stop Failed");
|
|
hdd_err("SAP Stop Failed");
|
|
@@ -9109,7 +9109,7 @@ void wlan_hdd_start_sap(hdd_adapter_t *ap_adapter)
|
|
|
|
|
|
hdd_info("Waiting for SAP to start");
|
|
hdd_info("Waiting for SAP to start");
|
|
qdf_status = qdf_wait_single_event(&hostapd_state->qdf_event,
|
|
qdf_status = qdf_wait_single_event(&hostapd_state->qdf_event,
|
|
- BSS_WAIT_TIMEOUT);
|
|
|
|
|
|
+ SME_CMD_TIMEOUT_VALUE);
|
|
if (!QDF_IS_STATUS_SUCCESS(qdf_status)) {
|
|
if (!QDF_IS_STATUS_SUCCESS(qdf_status)) {
|
|
hdd_err("SAP Start failed");
|
|
hdd_err("SAP Start failed");
|
|
goto end;
|
|
goto end;
|