wifi: rtl8xxxu: convert EN_DESC_ID of TX descriptor to le32 type
Fields of TX descriptor are little-endian order, so correct EN_DESC_ID
field to le32 type.
Fixes: b837f78fbf ("wifi: rtl8xxxu: add hw crypto support for AP mode")
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202401161318.YtXoCkjU-lkp@intel.com/
Cc: Martin Kaistra <martin.kaistra@linutronix.de>
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://msgid.link/20240116080945.20172-1-pkshih@realtek.com
This commit is contained in:
@@ -5619,7 +5619,7 @@ static void rtl8xxxu_tx(struct ieee80211_hw *hw,
|
||||
break;
|
||||
}
|
||||
if (bmc && rtlvif->hw_key_idx != 0xff) {
|
||||
tx_desc->txdw1 |= TXDESC_EN_DESC_ID;
|
||||
tx_desc->txdw1 |= cpu_to_le32(TXDESC_EN_DESC_ID);
|
||||
macid = rtlvif->hw_key_idx;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user