Browse Source

qcacld-3.0: Reduce failure log level of OL_TX_SEND

Reduce the excessive failure logging of OL_TX_SEND. Make it as debug log
so that it will not hog the console. OL layer tx flow control stats will
catch the dropped packets.

Change-Id: I57feee9b4eeb7bf6c6c0c239c2a30041936fa758
CRs-Fixed: 2047953
Manjunathappa Prakash 8 years ago
parent
commit
bab70f024f
1 changed files with 3 additions and 4 deletions
  1. 3 4
      core/dp/txrx/ol_tx.c

+ 3 - 4
core/dp/txrx/ol_tx.c

@@ -271,8 +271,7 @@ qdf_nbuf_t ol_tx_data(void *data_vdev, qdf_nbuf_t skb)
 	qdf_nbuf_set_next(skb, NULL);
 	ret = OL_TX_SEND(vdev, skb);
 	if (ret) {
-		QDF_TRACE(QDF_MODULE_ID_TXRX, QDF_TRACE_LEVEL_WARN,
-			"%s: Failed to tx", __func__);
+		ol_txrx_dbg("%s: Failed to tx", __func__);
 		return ret;
 	}
 
@@ -300,7 +299,7 @@ qdf_nbuf_t ol_tx_send_ipa_data_frame(struct cdp_vdev *vdev,
 	qdf_nbuf_set_next(skb, NULL);
 	ret = OL_TX_SEND((struct ol_txrx_vdev_t *)vdev, skb);
 	if (ret) {
-		ol_txrx_warn("%s: Failed to tx", __func__);
+		ol_txrx_dbg("%s: Failed to tx", __func__);
 		return ret;
 	}
 
@@ -692,7 +691,7 @@ ol_tx_ll_fast(ol_txrx_vdev_handle vdev, qdf_nbuf_t msdu_list)
 		msdu_info.peer = NULL;
 
 		if (qdf_unlikely(ol_tx_prepare_tso(vdev, msdu, &msdu_info))) {
-			qdf_print("ol_tx_prepare_tso failed\n");
+			ol_txrx_dbg("ol_tx_prepare_tso failed\n");
 			TXRX_STATS_MSDU_LIST_INCR(vdev->pdev,
 				 tx.dropped.host_reject, msdu);
 			return msdu;