qca-wifi: Fix cfr max clients reference
Fix cfr max clients ref cnt decrement when periodic cfr is stopped. Change-Id: I0f855e3de0f19e45243f1a49e5a5902319328ec1 CRs-Fixed: 2412533
This commit is contained in:
@@ -147,9 +147,10 @@ int ucfg_cfr_stop_capture(struct wlan_objmgr_pdev *pdev,
|
|||||||
return -EINVAL;
|
return -EINVAL;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (status == 0)
|
if (status == 0) {
|
||||||
pe->request = PEER_CFR_CAPTURE_DISABLE;
|
pe->request = PEER_CFR_CAPTURE_DISABLE;
|
||||||
pa->cfr_current_sta_count--;
|
pa->cfr_current_sta_count--;
|
||||||
|
}
|
||||||
|
|
||||||
return status;
|
return status;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user