qcacmn: Print re-queue message based on threshold
When packet tx fails at transport layer, packet is re-queued and given to HIF layer again. In this change, print the warning message about re-queue only when tx fails for 5 consecutive attempts due to no resources available at HIF layer. Since re-queuing is not fatal, it need not be printed on every attempt. Change-Id: I00082470420e29dfe4fb7a745ac709a682ba032e CRs-Fixed: 2621763
This commit is contained in:
@@ -726,6 +726,8 @@ static void reset_endpoint_states(HTC_TARGET *target)
|
||||
INIT_HTC_PACKET_QUEUE(&pEndpoint->RxBufferHoldQueue);
|
||||
pEndpoint->target = target;
|
||||
pEndpoint->TxCreditFlowEnabled = (bool)htc_credit_flow;
|
||||
pEndpoint->num_requeues_warn = 0;
|
||||
pEndpoint->total_num_requeues = 0;
|
||||
qdf_atomic_init(&pEndpoint->TxProcessCount);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user