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
This commit is contained in:
Tushnim Bhattacharyya
2017-04-24 15:21:59 -07:00
committed by snandini
parent a23b01405b
commit d54693fe79

View File

@@ -450,7 +450,7 @@ QDF_STATUS policy_mgr_next_actions(struct wlan_objmgr_psoc *psoc,
if (!policy_mgr_is_hw_sbs_capable(psoc)) { if (!policy_mgr_is_hw_sbs_capable(psoc)) {
/* No action */ /* No action */
policy_mgr_notice("firmware is not sbs capable"); 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 /* check if current mode is already SBS nothing to be
* done * done