diff --git a/core/mac/src/pe/lim/lim_utils.c b/core/mac/src/pe/lim/lim_utils.c index ad3028aadf8b..f6036205104b 100644 --- a/core/mac/src/pe/lim/lim_utils.c +++ b/core/mac/src/pe/lim/lim_utils.c @@ -5116,7 +5116,7 @@ bool lim_set_nss_change(struct mac_context *mac, struct pe_session *pe_session, if (!rxNss) { pe_err("Invalid rxNss value: %u", rxNss); - cds_trigger_recovery(QDF_REASON_UNSPECIFIED); + return false; } tempParam.rxNss = rxNss; diff --git a/core/wma/src/wma_dev_if.c b/core/wma/src/wma_dev_if.c index 5645aed31b50..47e4d2e84fe5 100644 --- a/core/wma/src/wma_dev_if.c +++ b/core/wma/src/wma_dev_if.c @@ -1571,7 +1571,7 @@ QDF_STATUS wma_remove_peer(tp_wma_handle wma, uint8_t *mac_addr, WMA_LOGE("%s: Can't remove peer with peer_addr %pM vdevid %d peer_count %d", __func__, peer_addr, vdev_id, wma->interfaces[vdev_id].peer_count); - cds_trigger_recovery(QDF_REASON_UNSPECIFIED); + QDF_ASSERT(0); return QDF_STATUS_E_INVAL; }