diff options
author | Jesse Gilles <jgilles@multitech.com> | 2016-05-02 16:56:13 -0500 |
---|---|---|
committer | Jesse Gilles <jgilles@multitech.com> | 2016-05-02 16:56:13 -0500 |
commit | bcdefc95d7244c1c86ea826dbd811d0115919241 (patch) | |
tree | 64c524dc0eba7f4af055f40f8aa571e690d93f46 /recipes-kernel/linux/linux-3.12.27 | |
parent | 8aa688d906556c6cdcb0cbba1779f5aee69b8a5a (diff) | |
download | meta-multitech-bcdefc95d7244c1c86ea826dbd811d0115919241.tar.gz meta-multitech-bcdefc95d7244c1c86ea826dbd811d0115919241.tar.bz2 meta-multitech-bcdefc95d7244c1c86ea826dbd811d0115919241.zip |
linux-3.12.27: fix interface blacklist for Telit LE910
Fixes cdc-wdm, wwan interface
Diffstat (limited to 'recipes-kernel/linux/linux-3.12.27')
-rw-r--r-- | recipes-kernel/linux/linux-3.12.27/linux-3.12.27-option-telit.patch | 20 |
1 files changed, 9 insertions, 11 deletions
diff --git a/recipes-kernel/linux/linux-3.12.27/linux-3.12.27-option-telit.patch b/recipes-kernel/linux/linux-3.12.27/linux-3.12.27-option-telit.patch index 9826a33..bc919ae 100644 --- a/recipes-kernel/linux/linux-3.12.27/linux-3.12.27-option-telit.patch +++ b/recipes-kernel/linux/linux-3.12.27/linux-3.12.27-option-telit.patch @@ -1,7 +1,7 @@ Index: linux-3.12.27/drivers/usb/serial/option.c =================================================================== --- linux-3.12.27.orig/drivers/usb/serial/option.c 2014-08-26 07:12:26.000000000 -0500 -+++ linux-3.12.27/drivers/usb/serial/option.c 2014-09-04 17:11:17.462024077 -0500 ++++ linux-3.12.27/drivers/usb/serial/option.c 2016-02-04 16:39:53.522427060 -0600 @@ -267,7 +267,9 @@ #define TELIT_PRODUCT_CC864_DUAL 0x1005 #define TELIT_PRODUCT_CC864_SINGLE 0x1006 @@ -12,20 +12,18 @@ Index: linux-3.12.27/drivers/usb/serial/option.c #define TELIT_PRODUCT_LE920 0x1200 /* ZTE PRODUCTS */ -@@ -574,7 +576,12 @@ +@@ -577,6 +579,11 @@ + .reserved = BIT(1) | BIT(5), + }; - static const struct option_blacklist_info telit_le920_blacklist = { - .sendsetup = BIT(0), -- .reserved = BIT(1) | BIT(5), -+ .reserved = BIT(1) | BIT(7), -+}; -+ +static const struct option_blacklist_info telit_le910_blacklist = { + .sendsetup = BIT(0), -+ .reserved = BIT(1) | BIT(7), - }; - ++ .reserved = BIT(1) | BIT(2), ++}; ++ static const struct usb_device_id option_ids[] = { + { USB_DEVICE(OPTION_VENDOR_ID, OPTION_PRODUCT_COLT) }, + { USB_DEVICE(OPTION_VENDOR_ID, OPTION_PRODUCT_RICOLA) }, @@ -1119,7 +1126,10 @@ { USB_DEVICE(TELIT_VENDOR_ID, TELIT_PRODUCT_CC864_DUAL) }, { USB_DEVICE(TELIT_VENDOR_ID, TELIT_PRODUCT_CC864_SINGLE) }, |