]> git.dujemihanovic.xyz Git - u-boot.git/commit
eth: remove usb-ethernet devices before re-enumerating them
authorVincent Palatin <vpalatin@chromium.org>
Mon, 9 Jan 2012 08:32:36 +0000 (08:32 +0000)
committerWolfgang Denk <wd@denx.de>
Sat, 3 Mar 2012 15:56:04 +0000 (16:56 +0100)
commite7e982d69c43b89f7e19b63479c8b2e880fbd75c
treed933f9627c7a94066118ad31d0b016c8556c1f1b
parente159e4868ec1c289a7c167da681165e74308c92a
eth: remove usb-ethernet devices before re-enumerating them

Fix the crash when running several times usb_init() with a USB ethernet
device plugged.

Signed-off-by: Vincent Palatin <vpalatin@chromium.org>
Tested-by: Wolfgang Grandegger <wg@denx.de>
drivers/usb/eth/usb_ether.c
include/net.h
net/eth.c