|
@@ -69,6 +69,9 @@ void htc_dump_counter_info(HTC_HANDLE HTCHandle)
|
|
{
|
|
{
|
|
HTC_TARGET *target = GET_HTC_TARGET_FROM_HANDLE(HTCHandle);
|
|
HTC_TARGET *target = GET_HTC_TARGET_FROM_HANDLE(HTCHandle);
|
|
|
|
|
|
|
|
+ if (!target)
|
|
|
|
+ return;
|
|
|
|
+
|
|
AR_DEBUG_PRINTF(ATH_DEBUG_ERR,
|
|
AR_DEBUG_PRINTF(ATH_DEBUG_ERR,
|
|
("\n%s: ce_send_cnt = %d, TX_comp_cnt = %d\n",
|
|
("\n%s: ce_send_cnt = %d, TX_comp_cnt = %d\n",
|
|
__func__, target->ce_send_cnt, target->TX_comp_cnt));
|
|
__func__, target->ce_send_cnt, target->TX_comp_cnt));
|