OSDN Git Service

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)
committerIliyan Malchev <malchev@google.com>
Mon, 23 May 2011 22:43:16 +0000 (15:43 -0700)
commitf66c448357f0369bbc6bb9bf3b4893e38431f04d
tree5d8be2c266f8f70bdc922ac31b179a5d02096f22
parent1e2f6dc69339dbbe495a46ecc05ddd0ed1acd609
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