소스 검색

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 8 년 전
부모
커밋
d54693fe79
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      umac/cmn_services/policy_mgr/src/wlan_policy_mgr_action.c

+ 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