]> git.karo-electronics.de Git - karo-tx-linux.git/commit
zd1211rw, fix oops when ejecting install media
authorMarc Pignat <marc.pignat@hevs.ch>
Fri, 26 Oct 2007 21:04:39 +0000 (17:04 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 16 Nov 2007 17:25:37 +0000 (09:25 -0800)
commitd866afcb920d41f24277e0986565a22e164e2720
treeb32774647ced0b3867d45bdaf1999b804aef3535
parent90218467107c97a0b05aac332325f18e05b649e1
zd1211rw, fix oops when ejecting install media

patch e0579d576cb894a4cf3c5af04fbf38e8c1281738 in mainline.

The disconnect function can dereference the net_device structure when it
is never allocated. This is the case when ejecting the device installer.

Signed-off-by: Marc Pignat <marc.pignat@hevs.ch>
Acked-by: Daniel Drake <dsd@gentoo.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/net/wireless/zd1211rw/zd_usb.c