]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
b43: Fix Bugzilla #14181 and the bug from the previous 'fix'
authorLarry Finger <Larry.Finger@lwfinger.net>
Fri, 16 Oct 2009 15:18:09 +0000 (10:18 -0500)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 10 Nov 2009 00:51:53 +0000 (16:51 -0800)
commit9a3e3d7cf51eeafaad9f90c7c1d8f0b97ed0687e
treebf648389241046af6c2a05896e256b43a1d37901
parent63de8c036a111bf8e717c2b5cc8facca4d5837f2
b43: Fix Bugzilla #14181 and the bug from the previous 'fix'

commit d50bae33d1358b909ade05ae121d83d3a60ab63f upstream.

"b43: Fix PPC crash in rfkill polling on unload" fixed the bug reported
in Bugzilla No. 14181; however, it introduced a new bug. Whenever the
radio switch was turned off, it was necessary to unload and reload
the driver for it to recognize the switch again.

This patch fixes both the original bug in #14181 and the bug introduced by
the previous patch. It must be stated, however, that if there is a BCM4306/3
with an rfkill switch (not yet proven), then the driver will need an
unload/reload cycle to turn the device back on.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/net/wireless/b43/rfkill.c