]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
iwlwifi: mei: clear the sap data header before sending
authorAvraham Stern <avraham.stern@intel.com>
Tue, 17 May 2022 09:05:13 +0000 (12:05 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 9 Jun 2022 08:26:17 +0000 (10:26 +0200)
commit1d5241e66f152019a8b6031cb184fb2c0b118134
tree80fd82d93a451cba83137d09589b7e6352c6617d
parent8ed62bb44e49c6623d92115ffaefd44a9c3903c6
iwlwifi: mei: clear the sap data header before sending

commit 55cf10488d7a9fa1b1b473a5e44a80666932e094 upstream.

The SAP data header has some fields that are marked as reserved
but are actually in use by CSME. Clear those fields before sending
the data to avoid having random values in those fields.

Cc: stable@vger.kernel.org
Signed-off-by: Avraham Stern <avraham.stern@intel.com>
Signed-off-by: Gregory Greenman <gregory.greenman@intel.com>
Link: https://lore.kernel.org/r/20220517120045.8dd3423cf683.I02976028eaa6aab395cb2e701fa7127212762eb7@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/wireless/intel/iwlwifi/mei/main.c