Revert "MOTODESK-3077 Change the NCM default interface name to ncm0"

This reverts commit 26b7fe96b7.

Reason for revert: Conflicts with upstream changes.

Change-Id: I6d4e53f84ffc56f63d180cc9e782c97d57b5c716
This commit is contained in:
Michael Bestas 2025-04-27 22:07:39 +03:00
commit b19c951c53
No known key found for this signature in database

View file

@ -1470,8 +1470,7 @@ static int ncm_bind(struct usb_configuration *c, struct usb_function *f)
*/
if (!ncm_opts->bound) {
mutex_lock(&ncm_opts->lock);
/* MOTODESK-3077 Use ncm interface name. suzh1 2021-04-03 */
ncm_opts->net = gether_setup_name_default("ncm");
ncm_opts->net = gether_setup_default();
if (IS_ERR(ncm_opts->net)) {
status = PTR_ERR(ncm_opts->net);
mutex_unlock(&ncm_opts->lock);