|
@@ -17957,6 +17957,7 @@ bool hdd_is_roaming_in_progress(struct hdd_context *hdd_ctx)
|
|
|
dbgid) {
|
|
|
vdev_id = adapter->vdev_id;
|
|
|
if (adapter->device_mode == QDF_STA_MODE &&
|
|
|
+ test_bit(SME_SESSION_OPENED, &adapter->event_flags) &&
|
|
|
sme_roaming_in_progress(hdd_ctx->mac_handle, vdev_id)) {
|
|
|
hdd_debug("Roaming is in progress on:vdev_id:%d",
|
|
|
adapter->vdev_id);
|
|
@@ -18012,6 +18013,13 @@ static QDF_STATUS hdd_is_connection_in_progress_iterator(
|
|
|
return QDF_STATUS_E_ABORTED;
|
|
|
|
|
|
mac_handle = hdd_ctx->mac_handle;
|
|
|
+ if (!test_bit(SME_SESSION_OPENED, &adapter->event_flags) &&
|
|
|
+ (adapter->device_mode == QDF_STA_MODE ||
|
|
|
+ adapter->device_mode == QDF_P2P_CLIENT_MODE ||
|
|
|
+ adapter->device_mode == QDF_P2P_DEVICE_MODE ||
|
|
|
+ adapter->device_mode == QDF_P2P_GO_MODE ||
|
|
|
+ adapter->device_mode == QDF_SAP_MODE))
|
|
|
+ return QDF_STATUS_SUCCESS;
|
|
|
|
|
|
if (((QDF_STA_MODE == adapter->device_mode)
|
|
|
|| (QDF_P2P_CLIENT_MODE == adapter->device_mode)
|