qcacld-3.0: TDLS not releasing the vdev ref taken with WLAN_TDLS_NB_ID
During NAN+TDLS case, when NAN is present dut is trying to add TDLS peer and the ref is not released which results in assert due to obj delete timeout. Fix is to release the ref taken properly in default handing of tdls serialization cmd and error handling. Change-ID: Ia1ff16fdde7f70e45b712d260c1eca372ceb947e CRs-Fixed: 2727206
This commit is contained in:
@@ -857,8 +857,10 @@ QDF_STATUS ucfg_tdls_notify_sta_disconnect(
|
||||
tdls_debug("Enter ");
|
||||
|
||||
notify = qdf_mem_malloc(sizeof(*notify));
|
||||
if (!notify)
|
||||
if (!notify) {
|
||||
wlan_objmgr_vdev_release_ref(notify->vdev, WLAN_TDLS_NB_ID);
|
||||
return QDF_STATUS_E_NULL_VALUE;
|
||||
}
|
||||
|
||||
*notify = *notify_info;
|
||||
|
||||
|
Reference in New Issue
Block a user