mirror of
https://github.com/edk2-porting/linux-next.git
synced 2025-01-16 01:24:08 +08:00
[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>
This commit is contained in:
parent
95c777956d
commit
6e3632f661
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user