Fix cfr max clients ref cnt decrement when periodic cfr is stopped. Change-Id: I0f855e3de0f19e45243f1a49e5a5902319328ec1 CRs-Fixed: 2412533
@@ -147,9 +147,10 @@ int ucfg_cfr_stop_capture(struct wlan_objmgr_pdev *pdev,
return -EINVAL;
}
- if (status == 0)
+ if (status == 0) {
pe->request = PEER_CFR_CAPTURE_DISABLE;
pa->cfr_current_sta_count--;
+ }
return status;