diff --git a/components/umac/mlme/sap/ll_sap/core/src/wlan_ll_lt_sap_bearer_switch.c b/components/umac/mlme/sap/ll_sap/core/src/wlan_ll_lt_sap_bearer_switch.c index 307c9ba698..7f9838694d 100644 --- a/components/umac/mlme/sap/ll_sap/core/src/wlan_ll_lt_sap_bearer_switch.c +++ b/components/umac/mlme/sap/ll_sap/core/src/wlan_ll_lt_sap_bearer_switch.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2023-2025 Qualcomm Innovation Center, Inc. All rights reserved. + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above @@ -2119,10 +2119,14 @@ static void ll_lt_sap_deliver_non_wlan_audio_transport_switch_resp( * If there is no cached request in BS_SM, it means that some other * module has performed the bearer switch and it is not a response of * the wlan bearer switch request, so just update the current state of - * the state machine + * the state machine, in case status is completed, return if status is + * not completed. */ - ll_sap_debug("Bearer switch for non-wlan module's request"); - + if (status != WLAN_BS_STATUS_COMPLETED) { + ll_sap_debug("Vdev %d, Bearer switch to non-WLAN by other module failed %d", + wlan_vdev_get_id(vdev), status); + return; + } bs_sm_transition_to(bs_ctx, BEARER_NON_WLAN); }