From: Johannes Berg Date: Mon, 13 Sep 2010 12:46:33 +0000 (+0200) Subject: iwlwifi: unify scan start checks X-Git-Tag: v2.6.37-rc1~147^2~373^2^2~94 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3eecce527c7434dfd16517ce08b49632c8a26717;p=pandora-kernel.git iwlwifi: unify scan start checks Rather than duplicating all the checks and even in case of errors accepting the scan request from mac80211, we can push the checks to the caller and in all error cases reject the scan request right away (rather than accepting and then saying it was aborted). Signed-off-by: Johannes Berg Signed-off-by: Stanislaw Gruszka Acked-by: Wey-Yi W Guy Signed-off-by: John W. Linville --- Reading git-diff-tree failed