Procházet zdrojové kódy

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
Tushnim Bhattacharyya před 8 roky
rodič
revize
d54693fe79

+ 1 - 1
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