From: Gertjan van Wingerde Date: Fri, 3 Oct 2008 18:20:32 +0000 (+0200) Subject: rt2x00: Fix rfkill structure initialization to prevent rfkill WARN_ON. X-Git-Tag: v2.6.28-rc1~717^2~110^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5b5d13afeeee959a74114b73c560d3e243f34a11;p=pandora-kernel.git rt2x00: Fix rfkill structure initialization to prevent rfkill WARN_ON. The state field of the rfkill structure was incorrectly initialized to -1, which results in rfkill issueing a WARN_ON. Fix this by initializing the state field to the proper value as indicated by the driver. Signed-off-by: Gertjan van Wingerde Signed-off-by: Ivo van Doorn Signed-off-by: John W. Linville --- Reading git-diff-tree failed