diff options
author | Mike Lockwood <lockwood@android.com> | 2011-08-12 14:35:42 -0700 |
---|---|---|
committer | Mike Lockwood <lockwood@android.com> | 2011-08-12 15:12:08 -0700 |
commit | 394bf63a79ccfff21989255aafff8c1279537ff7 (patch) | |
tree | 0f77888db0e9c701a4a69c1a46d4a995479e28e9 /drivers/usb/gadget/android.c | |
parent | b85f29e0c534cb83191a0aebd83935225370edcd (diff) | |
download | kernel_samsung_tuna-394bf63a79ccfff21989255aafff8c1279537ff7.zip kernel_samsung_tuna-394bf63a79ccfff21989255aafff8c1279537ff7.tar.gz kernel_samsung_tuna-394bf63a79ccfff21989255aafff8c1279537ff7.tar.bz2 |
USB: gadget: android: Use "rndis%d" for RNDIS device name instead of "usb%d"
Signed-off-by: Mike Lockwood <lockwood@android.com>
Diffstat (limited to 'drivers/usb/gadget/android.c')
-rw-r--r-- | drivers/usb/gadget/android.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/gadget/android.c b/drivers/usb/gadget/android.c index ebe6766..c82b43b 100644 --- a/drivers/usb/gadget/android.c +++ b/drivers/usb/gadget/android.c @@ -373,7 +373,7 @@ static int rndis_function_bind_config(struct android_usb_function *f, rndis->ethaddr[0], rndis->ethaddr[1], rndis->ethaddr[2], rndis->ethaddr[3], rndis->ethaddr[4], rndis->ethaddr[5]); - ret = gether_setup(c->cdev->gadget, rndis->ethaddr); + ret = gether_setup_name(c->cdev->gadget, rndis->ethaddr, "rndis"); if (ret) { pr_err("%s: gether_setup failed\n", __func__); return ret; |