mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 15:11:48 -04:00
qcacld-3.0: Remove the logs during RX thread buffer post
APPS watchdog bark timeout happens due to continuous excessive logging of "Not able to allocate context" in ol_txrx_offld_flush and in ol_rx_data_process. Remove these extra logs. Change-Id: Idf96ca584d77c68ad771a150604d1b9ca65ba3eb CRs-Fixed: 2289492
This commit is contained in:
parent
9935d3b87c
commit
3a6327d4e7
1 changed files with 4 additions and 10 deletions
|
|
@ -4606,7 +4606,6 @@ void ol_rx_data_process(struct ol_txrx_peer_t *peer,
|
|||
*/
|
||||
ol_txrx_rx_fp data_rx = NULL;
|
||||
ol_txrx_pdev_handle pdev = cds_get_context(QDF_MODULE_ID_TXRX);
|
||||
uint8_t drop_count;
|
||||
|
||||
if ((!peer) || (!pdev)) {
|
||||
ol_txrx_err("peer/pdev is NULL");
|
||||
|
|
@ -4649,11 +4648,9 @@ void ol_rx_data_process(struct ol_txrx_peer_t *peer,
|
|||
goto drop_rx_buf;
|
||||
|
||||
pkt = cds_alloc_ol_rx_pkt(sched_ctx);
|
||||
if (!pkt) {
|
||||
ol_txrx_info_high(
|
||||
"No available Rx message buffer");
|
||||
if (!pkt)
|
||||
goto drop_rx_buf;
|
||||
}
|
||||
|
||||
pkt->callback = (cds_ol_rx_thread_cb)
|
||||
ol_rx_data_cb;
|
||||
pkt->context = (void *)pdev;
|
||||
|
|
@ -4669,8 +4666,7 @@ void ol_rx_data_process(struct ol_txrx_peer_t *peer,
|
|||
return;
|
||||
|
||||
drop_rx_buf:
|
||||
drop_count = ol_txrx_drop_nbuf_list(rx_buf_list);
|
||||
ol_txrx_info_high("Dropped rx packets %u", drop_count);
|
||||
ol_txrx_drop_nbuf_list(rx_buf_list);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
@ -4855,10 +4851,8 @@ static void ol_txrx_offld_flush(void *data)
|
|||
ol_txrx_offld_flush_handler(data, NULL, 0);
|
||||
} else {
|
||||
pkt = cds_alloc_ol_rx_pkt(sched_ctx);
|
||||
if (qdf_unlikely(!pkt)) {
|
||||
ol_txrx_err("Not able to allocate context");
|
||||
if (qdf_unlikely(!pkt))
|
||||
return;
|
||||
}
|
||||
|
||||
pkt->callback = ol_txrx_offld_flush_handler;
|
||||
pkt->context = data;
|
||||
|
|
|
|||
Loading…
Reference in a new issue