From: Johannes Berg Date: Tue, 25 Sep 2012 14:40:12 +0000 (+0200) Subject: iwlwifi: fix 6000 series channel switch command X-Git-Tag: v3.2.33~54 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=735dbc9e51ae26e10eb3a0f277cfd2d81ca675bb;p=pandora-kernel.git iwlwifi: fix 6000 series channel switch command commit 8f7b8db6e0557c8437adf9371e020cd89a7e85dc upstream. 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. Reviewed-by: Emmanuel Grumbach Signed-off-by: Johannes Berg [bwh: Backported to 3.2: adjust filename, context] Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed