diff options
| author | Jeremy Bicha <jbicha@ubuntu.com> | 2018-02-08 18:13:36 -0500 |
|---|---|---|
| committer | Jeremy Bicha <jbicha@ubuntu.com> | 2018-02-08 18:14:13 -0500 |
| commit | 92f0f7d885561d2ea625fc7cdb1f95178f746c3d (patch) | |
| tree | a20765c36313a1f74b0632f3cc90383e3777eded /debian/patches/Ignore-rmnet_usbX-devices.patch | |
| parent | 8100ba88de3bb593817469b4b697a96cd558332e (diff) | |
Drop obsolete Ubuntu Phone related patches
Diffstat (limited to 'debian/patches/Ignore-rmnet_usbX-devices.patch')
| -rw-r--r-- | debian/patches/Ignore-rmnet_usbX-devices.patch | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/debian/patches/Ignore-rmnet_usbX-devices.patch b/debian/patches/Ignore-rmnet_usbX-devices.patch deleted file mode 100644 index 3cc67810..00000000 --- a/debian/patches/Ignore-rmnet_usbX-devices.patch +++ /dev/null @@ -1,25 +0,0 @@ -From: Mathieu Trudel-Lapierre <mathieu.trudel-lapierre@canonical.com> -Date: Fri, 13 May 2016 11:08:17 +0800 -Subject: Ignore rmnet_usbX devices. - ---- - src/nm-manager.c | 6 ++++++ - 1 file changed, 6 insertions(+) - -diff --git a/src/nm-manager.c b/src/nm-manager.c -index 413ec0b..294221e 100644 ---- a/src/nm-manager.c -+++ b/src/nm-manager.c -@@ -2397,6 +2397,12 @@ platform_link_added (NMManager *self, - } - } - -+ /* Ignore rmnet_usb devices, which will be handled by their modem parent -+ */ -+ if (!strncmp (plink->name, "rmnet_usb", NM_STRLEN ("rmnet_usb")) || -+ !strncmp (plink->name, "ccmni", NM_STRLEN ("ccmni"))) -+ return; -+ - if (device == NULL) { - gboolean nm_plugin_missing = FALSE; - |