]> 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)
commit336f8bb4f4ac591d46ee497b9be1300d20b5c01c
treefaf84e66c6e6bd0864012a3e56b3dd19e5b4cca0
parent47714e47f529f21fbd8b3628fbe1a9d63e902f0a
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