From: Gertjan van Wingerde Date: Fri, 31 Aug 2012 17:22:11 +0000 (+0200) Subject: rt2x00: Fix rfkill polling prior to interface start. X-Git-Tag: v3.6-rc6~18^2~22^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a396e10019eaf3809b0219c966865aaafec12630;p=pandora-kernel.git rt2x00: Fix rfkill polling prior to interface start. We need to program the rfkill switch GPIO pin direction to input at device initialization time, not only when the interface is brought up. Doing this only when the interface is brought up could lead to rfkill detecting the switch is turned on erroneously and inability to create the interface and bringing it up. Reported-and-tested-by: Andreas Messer Signed-off-by: Gertjan van Wingerde Cc: Acked-by: Ivo Van Doorn Signed-off-by: John W. Linville --- Reading git-diff-tree failed