]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: fix 6000 series channel switch command
authorJohannes Berg <johannes.berg@intel.com>
Tue, 25 Sep 2012 14:40:12 +0000 (16:40 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 16 Oct 2012 14:28:36 +0000 (16:28 +0200)
commit165854785b1df5a982efc0b8685236168a7ab541
treefaf84e66c6e6bd0864012a3e56b3dd19e5b4cca0
parent10d00a1dd09e7c6a24c2c17f899de2c8b555cbc3
iwlwifi: fix 6000 series channel switch command

The channel switch command for 6000 series devices
is larger than the maximum inline command size of
320 bytes. The command is therefore refused with a
warning. Fix this by allocating the command and
using the NOCOPY mechanism.

Cc: stable@kernel.org
Reviewed-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/iwlwifi/dvm/devices.c