qcacmn: Add NULL pointer check for KW issues
Add NULL pointer check in function hif_send_single() and htc_dump_counter_info() for KW issues. Change-Id: I4b020c566b14b28a825c13752dccf67b5f8bb837 CRs-Fixed: 2675205
This commit is contained in:
@@ -69,6 +69,9 @@ void htc_dump_counter_info(HTC_HANDLE HTCHandle)
|
||||
{
|
||||
HTC_TARGET *target = GET_HTC_TARGET_FROM_HANDLE(HTCHandle);
|
||||
|
||||
if (!target)
|
||||
return;
|
||||
|
||||
AR_DEBUG_PRINTF(ATH_DEBUG_ERR,
|
||||
("\n%s: ce_send_cnt = %d, TX_comp_cnt = %d\n",
|
||||
__func__, target->ce_send_cnt, target->TX_comp_cnt));
|
||||
|
مرجع در شماره جدید
Block a user