qcacmn: remove QDF_ASSERT warning for htc packets sending

If WMI cmd sending and runtime PM suspending happened at same time,
there is chance get_htc_send_packets_credit_based() report warning
to dmesg, this warning info is not much helpful.

Use one line print instead to avoid confusion.

Change-Id: Ia71657876b25cb180abba28b107553a99d015358
CRs-Fixed: 3583473
This commit is contained in:
Jinwei Chen
2023-08-10 02:12:24 -07:00
committed by Rahul Choudhary
父節點 0cd3985fb6
當前提交 dcad508db8

查看文件

@@ -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;