qcacmn: Check period while getting CFR capture status
When a one-shot capture is triggered with CFR, the state is not reset to DISABLED after capture has completed. This affects HW mode switch behavior because if CFR capture is ongoing (ENABLED), mode switch is not allowed. This change checks for period to return DISABLED or ENABLED. Period is 0 in case of one-shot capture. Change-Id: Iae8727959a1becd3b5f4da166e868c1592910b84 CRs-Fixed: 2735166
此提交包含在:
@@ -301,7 +301,7 @@ static void cfr_iter_peer_handler(struct wlan_objmgr_pdev *pdev,
|
||||
return;
|
||||
}
|
||||
|
||||
if (pe->request == PEER_CFR_CAPTURE_ENABLE) {
|
||||
if (pe->period && (pe->request == PEER_CFR_CAPTURE_ENABLE)) {
|
||||
*cfr_capt_status = pe->request;
|
||||
cfr_debug("CFR capture running for peer "
|
||||
QDF_MAC_ADDR_STR,
|
||||
|
新增問題並參考
封鎖使用者