mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 13:49:24 -04:00
qcacld-3.0: Fix unnecessary log of sme_roaming_in_progress
During enumeration all adapters, if adapter is not "up", it is unnecessary to check connecting or not. Otherwise, the vdev is not created for the adapter and the sme_roaming_in_progress will output "ROAM: incorrect vdev ID" error message. Change-Id: I3df5379a7d0b88c439d49711c36000717c7a433b CRs-Fixed: 3002674
This commit is contained in:
parent
46688f9276
commit
f5958f401b
1 changed files with 8 additions and 0 deletions
|
|
@ -18342,6 +18342,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) &&
|
||||
(MLME_IS_ROAM_SYNCH_IN_PROGRESS(hdd_ctx->psoc, vdev_id) ||
|
||||
MLME_IS_ROAMING_IN_PROG(hdd_ctx->psoc, vdev_id) ||
|
||||
mlme_is_roam_invoke_in_progress(hdd_ctx->psoc,
|
||||
|
|
@ -18402,6 +18403,13 @@ static QDF_STATUS hdd_is_connection_in_progress_iterator(
|
|||
}
|
||||
|
||||
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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue