diff options
author | Michael Buesch <mb@bu3sch.de> | 2007-11-03 14:34:32 +0100 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-11-10 10:25:12 +0100 |
commit | 35c7e6602b81bdacb745f04236a419402777139e (patch) | |
tree | 4ee928ff39b6b6bb09677399b9e1c1772ee445e8 /drivers/firewire | |
parent | b43: debugfs SHM read buffer overrun fix (diff) | |
download | linux-35c7e6602b81bdacb745f04236a419402777139e.tar.xz linux-35c7e6602b81bdacb745f04236a419402777139e.zip |
b43: Rewrite and fix rfkill init
The rfkill subsystem doesn't like code like that
rfkill_allocate();
rfkill_register();
rfkill_unregister();
rfkill_register(); /* <- This will crash */
This sequence happens with
modprobe b43
ifconfig wlanX up
ifconfig wlanX down
ifconfig wlanX up
Fix this by always re-allocating the rfkill stuff before register.
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/firewire')
0 files changed, 0 insertions, 0 deletions