浏览代码

qcacmn: Fix fastpath nbuf reset issue for rhine architecture

Currently, fastpath CE RX buffers are not properly getting reset on
WCN6450 due to which driver is reading data at wrong offset leading to
packet drops. Properly resetting the nbufs after every CE RX buffer
processing is fixing the issue.

Change-Id: Ic29740fb1a72a3302752cc457bcf45f8d0094c46
CRs-Fixed: 3601680
Manikanta Pubbisetty 1 年之前
父节点
当前提交
1ca2ca9845
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      dp/wifi3.0/rh/dp_rh_htt.c

+ 1 - 1
dp/wifi3.0/rh/dp_rh_htt.c

@@ -424,11 +424,11 @@ dp_htt_t2h_msg_handler_fast(void *context, qdf_nbuf_t *cmpl_msdus,
 			dp_htt_t2h_msg_handler(context, &htc_pkt);
 			break;
 		}
+		}
 
 		/* Re-initialize the indication buffer */
 		HTT_T2H_MSG_BUF_REINIT(htt_t2h_msg, soc->osdev);
 		qdf_nbuf_set_pktlen(htt_t2h_msg, 0);
-		}
 	}
 }