summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/intel/iwlwifi/iwl-config.h
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2018-12-11 21:20:43 +0100
committerLuca Coelho <luciano.coelho@intel.com>2019-02-04 12:28:10 +0200
commitdbf592f3d14fb7d532cb7c820b1065cf33e02aaa (patch)
tree6be6b9bf0aed60329a8f9efd99c1cc8ba8f05b00 /drivers/net/wireless/intel/iwlwifi/iwl-config.h
parentc96b5eec2105ccb6a956c8da6bb6deb670ebaf43 (diff)
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: Johannes Berg <johannes.berg@intel.com> Fixes: 8edbfaa19835 ("iwlwifi: mvm: configure multi RX queue") Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Diffstat (limited to 'drivers/net/wireless/intel/iwlwifi/iwl-config.h')
0 files changed, 0 insertions, 0 deletions