|
@@ -4492,8 +4492,8 @@ QDF_STATUS hdd_stop_adapter(struct hdd_context *hdd_ctx, struct hdd_adapter *ada
|
|
|
qdf_event_reset(&hostapd_state->
|
|
|
qdf_stop_bss_event);
|
|
|
qdf_status =
|
|
|
- qdf_wait_single_event(&hostapd_state->
|
|
|
- qdf_stop_bss_event,
|
|
|
+ qdf_wait_for_event_completion(
|
|
|
+ &hostapd_state->qdf_stop_bss_event,
|
|
|
SME_CMD_TIMEOUT_VALUE);
|
|
|
|
|
|
if (!QDF_IS_STATUS_SUCCESS(qdf_status)) {
|
|
@@ -10963,7 +10963,7 @@ void wlan_hdd_stop_sap(struct hdd_adapter *ap_adapter)
|
|
|
qdf_event_reset(&hostapd_state->qdf_stop_bss_event);
|
|
|
if (QDF_STATUS_SUCCESS == wlansap_stop_bss(hdd_ap_ctx->
|
|
|
sap_context)) {
|
|
|
- qdf_status = qdf_wait_single_event(&hostapd_state->
|
|
|
+ qdf_status = qdf_wait_for_event_completion(&hostapd_state->
|
|
|
qdf_stop_bss_event,
|
|
|
SME_CMD_TIMEOUT_VALUE);
|
|
|
if (!QDF_IS_STATUS_SUCCESS(qdf_status)) {
|
|
@@ -11032,7 +11032,7 @@ void wlan_hdd_start_sap(struct hdd_adapter *ap_adapter, bool reinit)
|
|
|
goto end;
|
|
|
|
|
|
hdd_debug("Waiting for SAP to start");
|
|
|
- qdf_status = qdf_wait_single_event(&hostapd_state->qdf_event,
|
|
|
+ qdf_status = qdf_wait_for_event_completion(&hostapd_state->qdf_event,
|
|
|
SME_CMD_TIMEOUT_VALUE);
|
|
|
if (!QDF_IS_STATUS_SUCCESS(qdf_status)) {
|
|
|
hdd_err("SAP Start failed");
|
|
@@ -12626,7 +12626,7 @@ void hdd_restart_sap(struct hdd_adapter *ap_adapter)
|
|
|
qdf_event_reset(&hostapd_state->qdf_stop_bss_event);
|
|
|
if (QDF_STATUS_SUCCESS == wlansap_stop_bss(sap_ctx)) {
|
|
|
qdf_status =
|
|
|
- qdf_wait_single_event(&hostapd_state->
|
|
|
+ qdf_wait_for_event_completion(&hostapd_state->
|
|
|
qdf_stop_bss_event,
|
|
|
SME_CMD_TIMEOUT_VALUE);
|
|
|
|
|
@@ -12659,7 +12659,7 @@ void hdd_restart_sap(struct hdd_adapter *ap_adapter)
|
|
|
|
|
|
hdd_info("Waiting for SAP to start");
|
|
|
qdf_status =
|
|
|
- qdf_wait_single_event(&hostapd_state->qdf_event,
|
|
|
+ qdf_wait_for_event_completion(&hostapd_state->qdf_event,
|
|
|
SME_CMD_TIMEOUT_VALUE);
|
|
|
wlansap_reset_sap_config_add_ie(sap_config,
|
|
|
eUPDATE_IE_ALL);
|