mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-05 19:31:57 -04:00
MOTODESK-3077 Change the NCM default interface name to ncm0
The NCM default interface name "usb0" is confused. Use "ncm0" better. Change-Id: I361074b9a3b04968f477d78e7c5a4fd6fe418fdc Reviewed-on: https://gerrit.mot.com/1916424 SME-Granted: SME Approvals Granted SLTApproved: Slta Waiver Tested-by: Jira Key Reviewed-by: Yuecai Liu <liuyc20@motorola.com> Reviewed-by: Huosheng Liao <liaohs@motorola.com> Reviewed-by: Xuejin Wang <wangxjn@motorola.com> Submit-Approved: Jira Key
This commit is contained in:
parent
946ecab487
commit
26b7fe96b7
1 changed files with 2 additions and 1 deletions
|
|
@ -1462,7 +1462,8 @@ static int ncm_bind(struct usb_configuration *c, struct usb_function *f)
|
|||
*/
|
||||
if (!ncm_opts->bound) {
|
||||
mutex_lock(&ncm_opts->lock);
|
||||
ncm_opts->net = gether_setup_default();
|
||||
/* MOTODESK-3077 Use ncm interface name. suzh1 2021-04-03 */
|
||||
ncm_opts->net = gether_setup_name_default("ncm");
|
||||
if (IS_ERR(ncm_opts->net)) {
|
||||
status = PTR_ERR(ncm_opts->net);
|
||||
mutex_unlock(&ncm_opts->lock);
|
||||
|
|
|
|||
Loading…
Reference in a new issue