usbether: Fixed bug when using with PXA25X chips
authorLukasz Dalek <luk0104@gmail.com>
Tue, 2 Oct 2012 15:04:29 +0000 (17:04 +0200)
committerTom Rini <trini@ti.com>
Mon, 15 Oct 2012 18:54:01 +0000 (11:54 -0700)
commit563aed25395777b55835c9cf7f72bb50ce753398
tree360fc3929f8ccef6a9381c01433ce98a347733ad
parent6d365ea0acf0b6d8e4efd28d9853d287c52d7fec
usbether: Fixed bug when using with PXA25X chips

PXA25X chips don't support alternate settings so driver uses non-CDC
driver.
But only code defined between DEV_CONFIG_CDC signals that network is up.
This patch is fixing this bug by signaling that network is up after USB
SET_INTERFACE request.

Signed-off-by: Lukasz Dalek <luk0104@gmail.com>
drivers/usb/gadget/ether.c