Skip to content
Commit e64add27 authored by Oleksij Rempel's avatar Oleksij Rempel Committed by John W. Linville
Browse files

b43: do not call ieee80211_unregister_hw if we are not registred



this patch fixes kernel Oops on "rmmod b43" if firmware was not loaded:

BUG: unable to handle kernel NULL pointer dereference at 0000000000000088
IP: [<ffffffff8104e988>] drain_workqueue+0x25/0x142
PGD 153ac6067 PUD 153b82067 PMD 0
Oops: 0000 [#1] SMP

Signed-off-by: default avatarOleksij Rempel <bug-track@fisher-privat.net>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent d2c8b15d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment