From: Johannes Berg Date: Thu, 21 Apr 2011 17:57:23 +0000 (-0700) Subject: iwlagn: improve RXON checking X-Git-Tag: v3.0-rc1~377^2~161^2^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c914ac26caf462567078f9615ffcedf1962087f2;p=pandora-kernel.git iwlagn: improve RXON checking The current RXON checking doesn't verify that the channel is valid (or at least non-zero), so add that. Also, add a WARN() so we get a stacktrace, and capture a bitmask of errors in order to capture all necessary information in the warning itself (in case the previous messages are snipped off.) Signed-off-by: Johannes Berg Signed-off-by: Wey-Yi Guy --- Reading git-diff-tree failed