From: David Spinadel Date: Fri, 11 May 2012 08:53:15 +0000 (+0200) Subject: iwlwifi: fix scan_cmd_size allocation X-Git-Tag: v3.5-rc1~101^2~6^2^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0ed462875a7825e89674f3e7ff9d67835feb9f73;p=pandora-kernel.git iwlwifi: fix scan_cmd_size allocation Allocate scan command with dynamic size based on uCode capability and num of channels. This isn't an important fix as the previous allocation was always too large as it added the scan command size but later subtracted it (which meant it was supposed to be part of the max scan size.) Signed-off-by: David Spinadel Reviewed-by: Emmanuel Grumbach Signed-off-by: Johannes Berg Signed-off-by: John W. Linville --- Reading git-diff-tree failed