diff options
Diffstat (limited to 'drivers/net/wireless/zd1211rw')
-rw-r--r-- | drivers/net/wireless/zd1211rw/zd_usb.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/zd1211rw/zd_usb.c b/drivers/net/wireless/zd1211rw/zd_usb.c index 605e96e74057..2468ad662d3d 100644 --- a/drivers/net/wireless/zd1211rw/zd_usb.c +++ b/drivers/net/wireless/zd1211rw/zd_usb.c | |||
@@ -1128,6 +1128,7 @@ static int __init usb_init(void) | |||
1128 | 1128 | ||
1129 | r = usb_register(&driver); | 1129 | r = usb_register(&driver); |
1130 | if (r) { | 1130 | if (r) { |
1131 | destroy_workqueue(zd_workqueue); | ||
1131 | printk(KERN_ERR "%s usb_register() failed. Error number %d\n", | 1132 | printk(KERN_ERR "%s usb_register() failed. Error number %d\n", |
1132 | driver.name, r); | 1133 | driver.name, r); |
1133 | return r; | 1134 | return r; |