b43legacy: fix use-after-free rfkill bug
authorStefano Brivio <stefano.brivio@polimi.it>
Sun, 13 Jan 2008 17:35:52 +0000 (18:35 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 23:10:10 +0000 (15:10 -0800)
commit222b01b7fef6e7ebea9e76ce08a783571569797b
treea95619da0e60695a39e52b0229625ad27cb4e5b2
parent66dcb6bdc57a799a16e8d2942b9ab38b8546eb3b
b43legacy: fix use-after-free rfkill bug

Fix rfkill code which caused a use-after-free bug. Thanks to David
Woodhouse for spotting this out.

Cc: David Woodhouse <dwmw2@infradead.org>
Signed-off-by: Stefano Brivio <stefano.brivio@polimi.it>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/b43legacy/rfkill.c