Skip to content

Commit

Permalink
[PATCH] zd1211rw: Reset device in the probe call
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Ulrich Kunitz authored and John W. Linville committed Feb 7, 2007
1 parent 95c7779 commit 6e3632f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/net/wireless/zd1211rw/zd_usb.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 6e3632f

Please sign in to comment.