iwlwifi: mvm: fix RSS config command
authorSara Sharon <sara.sharon@intel.com>
Wed, 12 Dec 2018 07:45:11 +0000 (09:45 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 29 Jan 2020 09:24:14 +0000 (10:24 +0100)
commita464dbcccd87dd8810714889a0b9915f00fa6dfe
tree293972d0679a85888d8152cb29207b9bfaacaf21
parent862ef92d75e6f1461b250cd463b0ef73881d6492
iwlwifi: mvm: fix RSS config command

[ Upstream commit 608dce95db10b8ee1a26dbce3f60204bb69812a5 ]

The hash mask is a bitmap, so we should use BIT() on
the enum values.

Signed-off-by: Sara Sharon <sara.sharon@intel.com>
Fixes: 43413a975d06 ("iwlwifi: mvm: support rss queues configuration command")
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/wireless/intel/iwlwifi/mvm/fw.c