aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorGertjan van Wingerde <gwingerde@gmail.com>2012-08-31 19:22:11 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-10-02 09:47:37 -0700
commitb4395a14b80188c83d6b126f5617d2f1be852b2d (patch)
treec199a34cb5edd2825c42adcc9ec3f7abe54488dc /include
parentd89abc3c415b30f16746ef54b75c18c7ef13f66b (diff)
downloadkernel_samsung_smdk4412-b4395a14b80188c83d6b126f5617d2f1be852b2d.zip
kernel_samsung_smdk4412-b4395a14b80188c83d6b126f5617d2f1be852b2d.tar.gz
kernel_samsung_smdk4412-b4395a14b80188c83d6b126f5617d2f1be852b2d.tar.bz2
rt2x00: Fix rfkill polling prior to interface start.
commit a396e10019eaf3809b0219c966865aaafec12630 upstream. 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 <andi@bastelmap.de> Signed-off-by: Gertjan van Wingerde <gwingerde@gmail.com> Acked-by: Ivo Van Doorn <ivdoorn@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions