diff options
author | Ulrich Kunitz <kune@deine-taler.de> | 2007-01-29 01:59:28 +0100 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2007-02-07 21:23:54 +0100 |
commit | 6e3632f66110b144183d53d550a51cbbbabc178f (patch) | |
tree | c6701bb3fa0258528a9232f5aa3976f4512736c2 /drivers/net/wireless/zd1211rw | |
parent | [PATCH] bcm43xx: Enable fwpostfix in nondebug bcm43xx (diff) | |
download | linux-6e3632f66110b144183d53d550a51cbbbabc178f.tar.xz linux-6e3632f66110b144183d53d550a51cbbbabc178f.zip |
[PATCH] zd1211rw: Reset device in the probe call
This resets the device in the probe call. It does work with
2.6.19.2 including the softmac patches. It might fix the
reboot/reset problems a lot of people reported.
Signed-off-by: Ulrich Kunitz <kune@deine-taler.de>
Signed-off-by: Daniel Drake <dsd@gentoo.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/zd1211rw')
-rw-r--r-- | drivers/net/wireless/zd1211rw/zd_usb.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/zd1211rw/zd_usb.c b/drivers/net/wireless/zd1211rw/zd_usb.c index 2468ad662d3d..3ac308af24ae 100644 --- a/drivers/net/wireless/zd1211rw/zd_usb.c +++ b/drivers/net/wireless/zd1211rw/zd_usb.c @@ -1027,6 +1027,8 @@ static int probe(struct usb_interface *intf, const struct usb_device_id *id) goto error; } + usb_reset_device(interface_to_usbdev(intf)); + netdev = zd_netdev_alloc(intf); if (netdev == NULL) { r = -ENOMEM; |