diff options
author | Luca Coelho <luciano.coelho@intel.com> | 2017-09-01 17:59:15 +0300 |
---|---|---|
committer | Luca Coelho <luciano.coelho@intel.com> | 2017-09-08 11:44:39 +0300 |
commit | 97bce57bd7f96e1218751996f549a6e61f18cc8c (patch) | |
tree | 03416010fab653e6f381bbfcd71187dd07eca50c /drivers/net/wireless/intel/iwlwifi/iwl-trans.h | |
parent | 8458e48ac7ad86a5ab7f3d1a8cacd9205a9a97ce (diff) | |
download | linux-97bce57bd7f96e1218751996f549a6e61f18cc8c.tar.xz |
iwlwifi: mvm: use IWL_HCMD_NOCOPY for MCAST_FILTER_CMD
The MCAST_FILTER_CMD can get quite large when we have many mcast
addresses to set (we support up to 255). So the command should be
send as NOCOPY to prevent a warning caused by too-long commands:
WARNING: CPU: 0 PID: 9700 at /root/iwlwifi/stack-dev/drivers/net/wireless/intel/iwlwifi/pcie/tx.c:1550 iwl_pcie_enqueue_hcmd+0x8c7/0xb40 [iwlwifi]
Command MCAST_FILTER_CMD (0x1d0) is too large (328 bytes)
This fixes: https://bugzilla.kernel.org/show_bug.cgi?id=196743
Cc: stable@vger.kernel.org
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Diffstat (limited to 'drivers/net/wireless/intel/iwlwifi/iwl-trans.h')
0 files changed, 0 insertions, 0 deletions