staging: vt6656: call usb_device_reset before netdev registration
authorMalcolm Priestley <tvboxspy@gmail.com>
Tue, 22 Oct 2013 19:00:22 +0000 (20:00 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 27 Oct 2013 13:50:10 +0000 (06:50 -0700)
commit2467635ee3b6f50131caa1b80b2d116eaf5ce938
tree5bba80e4e2feb917b160c9bda210771b15644527
parent16fcfa17d52f9f9e4e2f02a5b078b078eb5eabf3
staging: vt6656: call usb_device_reset before netdev registration

The USB reset occurs after netdev registration if network manager
calls device_open too fast causing USB fails in main_usb.c: device_init_registers.

Move the usb reset to before register_netdev.

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6656/main_usb.c