瀏覽代碼

qcacmn: Set Tx ring packet type flag properly

Currently, HTT Tx ring packet type flag is set as bitwise operation
which is incorrect and results in "Debug Assert Caught".

Set this CTRL and DATA packet type flag with a value of 1.

Change-Id: I62e89fe637441fcc680ea8d5fe8d157d8e7142ae
CRs-Fixed: 3415733
Srinivas Girigowda 2 年之前
父節點
當前提交
3228443af7
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      dp/wifi3.0/monitor/2.0/dp_mon_filter_2.0.c

+ 2 - 2
dp/wifi3.0/monitor/2.0/dp_mon_filter_2.0.c

@@ -1104,11 +1104,11 @@ int htt_h2t_tx_ring_cfg(struct htt_soc *htt_soc, int pdev_id,
 
 	if (htt_tlv_filter->ctrl_filter)
 		htt_tx_ring_pkt_type_set(*msg_word, ENABLE_FLAGS,
-					 CTRL, 2);
+					 CTRL, 1);
 
 	if (htt_tlv_filter->data_filter)
 		htt_tx_ring_pkt_type_set(*msg_word, ENABLE_FLAGS,
-					 DATA, 4);
+					 DATA, 1);
 
 	if (htt_tlv_filter->mgmt_dma_length)
 		HTT_TX_MONITOR_CFG_CONFIG_LENGTH_MGMT_SET(*msg_word,