qcacld-3.0: Fix vdev count leak in pre CAC
At present Pre CAC work queue callback pre_cac_handle_failure
doesn't release the vdev ref count. And the pre_cac_handle_radar_ind
doesn't take ref count before schedule work pre_cac_work.
To fix inconsistency by using psoc as work queue callback parameter
and get pre CAC vdev id from psoc context.
Change-Id: I65339ca9f3ac4b91faf31090978337d041320f99
CRs-Fixed: 3288125
This commit is contained in:

committad av
Madan Koyyalamudi

förälder
f844af3bfc
incheckning
86a7824781
@@ -29,7 +29,8 @@ struct pre_cac_ops {
|
||||
void (*pre_cac_conditional_csa_ind_cb)(
|
||||
struct wlan_objmgr_psoc *psoc, uint8_t vdev_id,
|
||||
bool status);
|
||||
void (*pre_cac_complete_cb)(struct wlan_objmgr_vdev *vdev,
|
||||
QDF_STATUS status);
|
||||
void (*pre_cac_complete_cb)(
|
||||
struct wlan_objmgr_psoc *psoc, uint8_t vdev_id,
|
||||
QDF_STATUS status);
|
||||
};
|
||||
#endif /* _WLAN_PRE_CAC_PUBLIC_STRUCT_H_ */
|
||||
|
Referens i nytt ärende
Block a user