iwlwifi: mvm: fix RSS key sizing
authorSara Sharon <sara.sharon@intel.com>
Sun, 7 Feb 2016 10:50:35 +0000 (12:50 +0200)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Sat, 27 Feb 2016 19:59:51 +0000 (21:59 +0200)
commitdd4d3161d0f229031914f403721ced8cb64d4d52
treee373bd245697289afc825204e6e81eb463ed91e7
parent25c2b22caceedf015d5852e3abb46d2e9271a3bd
iwlwifi: mvm: fix RSS key sizing

The initialization and copying of the RSS secret key
should not use ARRAY_SIZE as we need to initialize a
dword array, and not a byte array.
Fix also the hook maximum write size to allow writing
a longer table - up to full indirection table size.

Fixes: 43413a975d06("iwlwifi: mvm: support rss queues configuration command")
Signed-off-by: Sara Sharon <sara.sharon@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c
drivers/net/wireless/intel/iwlwifi/mvm/fw.c
drivers/net/wireless/intel/iwlwifi/mvm/ops.c