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>
Thu, 30 Sep 2010 00:49:28 +0000 (17:49 -0700)
commit875ca0193640da1eaf12a8626100f9dfce843ce9
treef82ed1ca2aba4429bad5c20a0d79df8637fb73a5
parent07daf775451f2866662361a30de20c525a7697bf
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