qcacmn: Flush TxLookupQueue for ENDPOINT_0 during htc_cleanup

When driver unload is triggered, check_for_leaks complains,
saying it finds pending entries in TxLookupQueue of ENDPOINT_0.

Flush pending entries in TxLookupQueue for ENDPOINT_0 during htc_cleanup.

Change-Id: Ica661453d5cef283526cfa1e7267d5349b5e2310
CRs-Fixed: 2249980
Этот коммит содержится в:
Alok Kumar
2018-05-30 13:07:13 +05:30
коммит произвёл nshrivas
родитель 09ec6f98d0
Коммит 9bd8152057
3 изменённых файлов: 27 добавлений и 0 удалений

Просмотреть файл

@@ -187,6 +187,8 @@ static void htc_cleanup(HTC_TARGET *target)
}
#endif
htc_flush_endpoint_txlookupQ(target, ENDPOINT_0);
qdf_spinlock_destroy(&target->HTCLock);
qdf_spinlock_destroy(&target->HTCRxLock);
qdf_spinlock_destroy(&target->HTCTxLock);