Explorar o código

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 %!s(int64=2) %!d(string=hai) anos
pai
achega
3228443af7
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  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,