diff options
| author | Avraham Stern <[email protected]> | 2024-07-29 17:20:11 +0000 |
|---|---|---|
| committer | Johannes Berg <[email protected]> | 2024-08-27 08:15:14 +0000 |
| commit | a949075d4bbf1ca83ccdeaa6ef4ac2ce7526c5f4 (patch) | |
| tree | 3e662668cbf86e3fb0a0032faccf0ed8674ba07e /drivers/net/wireless/intel/iwlwifi/fw/api/commands.h | |
| parent | wifi: iwlwifi: mvm: Fix a race in scan abort flow (diff) | |
| download | kernel-a949075d4bbf1ca83ccdeaa6ef4ac2ce7526c5f4.tar.gz kernel-a949075d4bbf1ca83ccdeaa6ef4ac2ce7526c5f4.zip | |
wifi: iwlwifi: mvm: set the cipher for secured NDP ranging
The cipher pointer is not set, but is derefereced trying to set its
content, which leads to a NULL pointer dereference.
Fix it by pointing to the cipher parameter before dereferencing.
Fixes: 626be4bf99f6 ("wifi: iwlwifi: mvm: modify iwl_mvm_ftm_set_secured_ranging() parameters")
Signed-off-by: Avraham Stern <[email protected]>
Signed-off-by: Miri Korenblit <[email protected]>
Link: https://patch.msgid.link/20240729201718.24e83369f136.I80501ddcb82920561f450d00020d860e7a3f90c6@changeid
Signed-off-by: Johannes Berg <[email protected]>
Diffstat (limited to 'drivers/net/wireless/intel/iwlwifi/fw/api/commands.h')
0 files changed, 0 insertions, 0 deletions
