Skip to content

Commit f13e5b1

Browse files
nscndSasha Levin
authored andcommitted
wifi: ath12k: fix ath12k_hal_tx_cmd_ext_desc_setup() info1 override
[ Upstream commit df11edf ] Since inception there is an obvious typo laying around in ath12k_hal_tx_cmd_ext_desc_setup(). Instead of initializing + adding flags to tcl_ext_cmd->info1, we initialize + override. This will be needed in the future to make broadcast frames work with ethernet encapsulation. Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.4.1-00199-QCAHKSWPL_SILICONZ-1 Signed-off-by: Nicolas Escande <[email protected]> Reviewed-by: Vasanthakumar Thiagarajan <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jeff Johnson <[email protected]> Signed-off-by: Sasha Levin <[email protected]>
1 parent 23bcf9f commit f13e5b1

File tree

1 file changed

+1
-1
lines changed
  • drivers/net/wireless/ath/ath12k

1 file changed

+1
-1
lines changed

drivers/net/wireless/ath/ath12k/dp_tx.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ static void ath12k_hal_tx_cmd_ext_desc_setup(struct ath12k_base *ab,
117117
le32_encode_bits(ti->data_len,
118118
HAL_TX_MSDU_EXT_INFO1_BUF_LEN);
119119

120-
tcl_ext_cmd->info1 = le32_encode_bits(1, HAL_TX_MSDU_EXT_INFO1_EXTN_OVERRIDE) |
120+
tcl_ext_cmd->info1 |= le32_encode_bits(1, HAL_TX_MSDU_EXT_INFO1_EXTN_OVERRIDE) |
121121
le32_encode_bits(ti->encap_type,
122122
HAL_TX_MSDU_EXT_INFO1_ENCAP_TYPE) |
123123
le32_encode_bits(ti->encrypt_type,

0 commit comments

Comments
 (0)