mirror_ubuntu-kernels/drivers/net/wireless/intel
Luca Coelho 64f55156f7 iwlwifi: mvm: don't send RFH_QUEUE_CONFIG_CMD with no queues
If we have only a single RX queue, such as when MSI-X is not
available, we should not send the RFH_QUEUEU_CONFIG_CMD, because our
only queue is the same as the command queue and will be configured as
part of the context info.  Our code was actually trying to send the
command with 0 queues, which caused UMAC assert 0x1D04.

Fix that by not sending the command when we have a single queue.

Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/iwlwifi.20201008180656.c35eeb3299f8.I08f79a6ebe150a7d180b7005b24504bfdba6d8b5@changeid
2020-10-08 20:09:32 +03:00
..
ipw2x00 net: ipw2x00,iwlegacy,iwlwifi: Remove in_interrupt() from debug macros 2020-09-29 14:02:55 -07:00
iwlegacy net: ipw2x00,iwlegacy,iwlwifi: Remove in_interrupt() from debug macros 2020-09-29 14:02:55 -07:00
iwlwifi iwlwifi: mvm: don't send RFH_QUEUE_CONFIG_CMD with no queues 2020-10-08 20:09:32 +03:00
Kconfig treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00