diff --git a/core/wma/src/wma_dev_if.c b/core/wma/src/wma_dev_if.c index 73d883382974..15f3c657a065 100644 --- a/core/wma/src/wma_dev_if.c +++ b/core/wma/src/wma_dev_if.c @@ -1,6 +1,6 @@ /* * Copyright (c) 2013-2021 The Linux Foundation. All rights reserved. - * Copyright (c) 2021-2023 Qualcomm Innovation Center, Inc. All rights reserved. + * Copyright (c) 2021-2024 Qualcomm Innovation Center, Inc. All rights reserved. * * Permission to use, copy, modify, and/or distribute this software for * any purpose with or without fee is hereby granted, provided that the @@ -2214,6 +2214,9 @@ void wma_send_vdev_down(tp_wma_handle wma, struct del_bss_resp *resp) return; } + wma_debug("Reset roaming_in_progress for vdev %d", vdev_id); + wma->interfaces[vdev_id].roaming_in_progress = false; + if (vdev_stop_type != WMA_DELETE_BSS_HO_FAIL_REQ) { if (wma_send_vdev_down_to_fw(wma, vdev_id) != QDF_STATUS_SUCCESS) diff --git a/core/wma/src/wma_utils.c b/core/wma/src/wma_utils.c index 11fa4b46823a..e8f10039e0ad 100644 --- a/core/wma/src/wma_utils.c +++ b/core/wma/src/wma_utils.c @@ -1,6 +1,6 @@ /* * Copyright (c) 2013-2021 The Linux Foundation. All rights reserved. - * Copyright (c) 2021-2022 Qualcomm Innovation Center, Inc. All rights reserved. + * Copyright (c) 2021-2024 Qualcomm Innovation Center, Inc. All rights reserved. * * Permission to use, copy, modify, and/or distribute this software for * any purpose with or without fee is hereby granted, provided that the @@ -3957,8 +3957,6 @@ QDF_STATUS wma_send_vdev_down_to_fw(t_wma_handle *wma, uint8_t vdev_id) return status; } - wma->interfaces[vdev_id].roaming_in_progress = false; - status = vdev_mgr_down_send(vdev_mlme); return status;