Staging: w35und: unregister device from the ieee80211 stack upon ->disconnect()
authorPekka Enberg <penberg@cs.helsinki.fi>
Thu, 16 Apr 2009 11:43:14 +0000 (14:43 +0300)
committerGreg Kroah-Hartman <gregkh@suse.de>
Sat, 9 May 2009 02:39:27 +0000 (19:39 -0700)
commit82fbb01cf3c2bd150262269bd017431d7dd74063
tree9296a03b80bc2dd8febdfe9b079ce551c780a226
parent091bf7624d1c90cec9e578a18529f615213ff847
Staging: w35und: unregister device from the ieee80211 stack upon ->disconnect()

Impact: fix module removal

This patch fixes an oops when the w35und module is removed from the
kernel and added back.

Reported-by: luoyi <luoyi.ly@gmail.com>
Tested-by: Sandro Bonazzola <sandro.bonazzola@gmail.com>
Cc: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/winbond/wbusb.c