|
@@ -1200,7 +1200,11 @@ static void get_htc_send_packets_credit_based(HTC_TARGET *target,
|
|
|
ret = hif_rtpm_get(HIF_RTPM_GET_ASYNC, rtpm_code);
|
|
|
if (ret) {
|
|
|
/* bus suspended, runtime resume issued */
|
|
|
- QDF_ASSERT(HTC_PACKET_QUEUE_DEPTH(pQueue) == 0);
|
|
|
+ if (HTC_PACKET_QUEUE_DEPTH(pQueue) > 0)
|
|
|
+ AR_DEBUG_PRINTF(ATH_DEBUG_WARN,
|
|
|
+ (" pQueue depth: %d\n",
|
|
|
+ HTC_PACKET_QUEUE_DEPTH(pQueue)));
|
|
|
+
|
|
|
pPacket = htc_get_pkt_at_head(tx_queue);
|
|
|
if (!pPacket)
|
|
|
break;
|