USB: gadget: android: Fix special case for RNDIS ethernet function
authorMike Lockwood <lockwood@android.com>
Sat, 13 Feb 2010 21:37:16 +0000 (16:37 -0500)
committerColin Cross <ccross@android.com>
Tue, 14 Jun 2011 16:08:59 +0000 (09:08 -0700)
commitda574e2e1f73ee7facc5003b0f8f12d438c86203
tree7df6df262b861bff8b567bd47c5e86d9afdf3b55
parentc832ca8239edd05f4593eaa10c2893b2eaf948b6
USB: gadget: android: Fix special case for RNDIS ethernet function

Only set device descriptor bDeviceClass field to USB_CLASS_COMM when
the RNDIS function is actually enabled.

Signed-off-by: Mike Lockwood <lockwood@android.com>
drivers/usb/gadget/android.c