b43: fix invalid memory access in b43_ssb_remove()
commite61b52d1309df08b86a35e54a61f0cc932b28291
authorPavel Roskin <proski@gnu.org>
Fri, 22 Jul 2011 22:07:13 +0000 (22 18:07 -0400)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 26 Jul 2011 20:27:31 +0000 (26 16:27 -0400)
tree98bed4e7d4ec3a9b40be228e825eebee0e911aca
parent6f89062a66d8b88ca89a15a6cebc0bc0db284441
b43: fix invalid memory access in b43_ssb_remove()

wldev is freed in b43_one_core_detach() and should not be accessed after
that call.  Keep wldev->dev in a local variable.

Signed-off-by: Pavel Roskin <proski@gnu.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/b43/main.c