소스 검색

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: Ie3e785f617d320dc88051bf6f22f8e291f120c14
CRs-Fixed: 2728865
Pankaj Singh 4 년 전
부모
커밋
9f6679e000
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      components/tdls/dispatcher/src/wlan_tdls_ucfg_api.c

+ 1 - 1
components/tdls/dispatcher/src/wlan_tdls_ucfg_api.c

@@ -858,7 +858,7 @@ QDF_STATUS ucfg_tdls_notify_sta_disconnect(
 
 
 	notify = qdf_mem_malloc(sizeof(*notify));
 	notify = qdf_mem_malloc(sizeof(*notify));
 	if (!notify) {
 	if (!notify) {
-		wlan_objmgr_vdev_release_ref(notify->vdev, WLAN_TDLS_NB_ID);
+		wlan_objmgr_vdev_release_ref(notify_info->vdev, WLAN_TDLS_NB_ID);
 		return QDF_STATUS_E_NULL_VALUE;
 		return QDF_STATUS_E_NULL_VALUE;
 	}
 	}