From: Stanislaw Gruszka Date: Fri, 16 Apr 2010 13:46:41 +0000 (+0200) Subject: iwlwifi: check scan request ie_len X-Git-Tag: v2.6.35-rc1~473^2~393^2~27 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eb2ec0fb3c2fe85d42b2d5131e526daa0e298b9e;p=pandora-kernel.git iwlwifi: check scan request ie_len In mac80211 we always check both scan_req->ie and scan_req->ie_len against zero before usage, in iwlwifi we should do the same. Remove not needed "left -= ie_len" while at it. Signed-off-by: Stanislaw Gruszka Acked-by: Reinette Chatre Signed-off-by: John W. Linville --- Reading git-diff-tree failed