diff options
author | Johannes Berg <johannes.berg@intel.com> | 2018-12-11 23:20:43 +0300 |
---|---|---|
committer | Luca Coelho <luciano.coelho@intel.com> | 2019-02-04 13:28:10 +0300 |
commit | dbf592f3d14fb7d532cb7c820b1065cf33e02aaa (patch) | |
tree | 6be6b9bf0aed60329a8f9efd99c1cc8ba8f05b00 /drivers/net/wireless/intel/iwlwifi/iwl-io.c | |
parent | c96b5eec2105ccb6a956c8da6bb6deb670ebaf43 (diff) | |
download | linux-dbf592f3d14fb7d532cb7c820b1065cf33e02aaa.tar.xz |
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-io.c')
0 files changed, 0 insertions, 0 deletions