From d54693fe79af3ce7f8377e7589912843477ff559 Mon Sep 17 00:00:00 2001 From: Tushnim Bhattacharyya Date: Mon, 24 Apr 2017 15:21:59 -0700 Subject: [PATCH] qcacmn: Fix next action status in policy manager for SBS The next action function to reflect the SBS capability in its status correctly. If SBS is not supported the second connection should proceed, without waiting for a HW mode change to SBS. Change-Id: I99eee6c854c6a1605f1c5b7655773818811f19ea CRs-Fixed: 2021512 --- umac/cmn_services/policy_mgr/src/wlan_policy_mgr_action.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/umac/cmn_services/policy_mgr/src/wlan_policy_mgr_action.c b/umac/cmn_services/policy_mgr/src/wlan_policy_mgr_action.c index 84d4c67d1410..0e5f64b55b00 100644 --- a/umac/cmn_services/policy_mgr/src/wlan_policy_mgr_action.c +++ b/umac/cmn_services/policy_mgr/src/wlan_policy_mgr_action.c @@ -450,7 +450,7 @@ QDF_STATUS policy_mgr_next_actions(struct wlan_objmgr_psoc *psoc, if (!policy_mgr_is_hw_sbs_capable(psoc)) { /* No action */ policy_mgr_notice("firmware is not sbs capable"); - return QDF_STATUS_SUCCESS; + return QDF_STATUS_E_NOSUPPORT; } /* check if current mode is already SBS nothing to be * done