From: Ben Hutchings Date: Sun, 31 Mar 2013 02:58:04 +0000 (+0100) Subject: cdc_ncm,cdc_mbim: Use NCM by default X-Git-Tag: archive/raspbian/6.5.6-1+rpi1^2~40 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=2f0ce08d0a6eccf33725a92d66e224fdb9b90c57;p=linux.git 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 --- diff --git a/drivers/net/usb/cdc_ncm.c b/drivers/net/usb/cdc_ncm.c index db05622f1f7..b334b7bb3bb 100644 --- a/drivers/net/usb/cdc_ncm.c +++ b/drivers/net/usb/cdc_ncm.c @@ -54,11 +54,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");