From 087048d46dc9290d993f3c5773444fca0b6a8b8e Mon Sep 17 00:00:00 2001 From: Ben Hutchings Date: Sun, 31 Mar 2013 03:58:04 +0100 Subject: [PATCH] cdc_ncm,cdc_mbim: Use NCM by default Forwarded: not-needed Devices that support both NCM and MBIM modes should be kept in NCM mode unless there is userland support for MBIM. Set the default value of cdc_ncm.prefer_mbim to false and leave it to userland (modem-manager) to override this with a modprobe.conf file once it's ready to speak MBIM. Gbp-Pq: Topic debian Gbp-Pq: Name cdc_ncm-cdc_mbim-use-ncm-by-default.patch --- drivers/net/usb/cdc_ncm.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/drivers/net/usb/cdc_ncm.c b/drivers/net/usb/cdc_ncm.c index 15f91d691bb..106552d3c94 100644 --- a/drivers/net/usb/cdc_ncm.c +++ b/drivers/net/usb/cdc_ncm.c @@ -53,11 +53,7 @@ #include #include -#if IS_ENABLED(CONFIG_USB_NET_CDC_MBIM) -static bool prefer_mbim = true; -#else static bool prefer_mbim; -#endif module_param(prefer_mbim, bool, 0644); MODULE_PARM_DESC(prefer_mbim, "Prefer MBIM setting on dual NCM/MBIM functions"); -- 2.30.2