wifi: iwlwifi: mei: fix tx DHCP packet for devices with new Tx API
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Sun, 30 Oct 2022 17:17:43 +0000 (19:17 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 31 Dec 2022 12:32:10 +0000 (13:32 +0100)
commita29e442ee110aafdf7785fac6de44b22d3da43db
tree5efe30d057b4cfb40c5a38bbf329b46a0036fa29
parent9829f3a5ae4b657dbf4b337fb1cb2a74e1b1c263
wifi: iwlwifi: mei: fix tx DHCP packet for devices with new Tx API

[ Upstream commit bcd68b3dbe78b7b0f7b6b55162cf1eff1e7fff9e ]

Devices with new Tx API have the IV introduced by the HW and it is not
present in the skb at all. Hence we don't need to tell
iwl_mvm_mei_tx_copy_to_csme to jump over 8 bytes to get to the ethernet
header.

Fixes: 2da4366f9e2c ("iwlwifi: mei: add the driver to allow cooperation with CSME")
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Gregory Greenman <gregory.greenman@intel.com>
Link: https://lore.kernel.org/r/20221030191011.12dc42133502.Idd744ffeeb84b880eb497963ee02563cbb959a42@changeid
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/wireless/intel/iwlwifi/mvm/tx.c