Skip to content
Commit dbf592f3 authored by Johannes Berg's avatar Johannes Berg Committed by Luca Coelho
Browse files

iwlwifi: mvm: fix RFH config command with >=10 CPUs



If we have >=10 (logical) CPUs, our command size exceeds the
internal buffer size and the command fails; fix that by using
IWL_HCMD_DFL_NOCOPY for the command that's allocated anyway.

While at it, also fix the leak of cmd, and use struct_size()
to calculate its size.

Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
Fixes: 8edbfaa1

 ("iwlwifi: mvm: configure multi RX queue")
Signed-off-by: default avatarLuca Coelho <luciano.coelho@intel.com>
parent c96b5eec
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment