move ZTE CDMA device pid from zte_ev.c back to option.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



dear linuxfoundation:
    I'm very sorry, i think i had been according to the Documentation/SubmittingPatches  to submit.

    The pid of 0xfffe device re-connect network failed when driven by zte_ev, but work fine when driven by option if we move the pid 0xfffe to option. 
in order to re-connect sucessfull, we should move the pid 0xfffe from zte_ev.c back to option.c.


Signed-off-by:lei liu<liu.lei78@xxxxxxxxxx>
diff -uprN -X linux-3.15.1/Documentation/dontdiff linux-3.15.1/drivers/usb/serial/option.c linux-3.15.1-update/drivers/usb/serial/option.c
--- linux-3.15.1/drivers/usb/serial/option.c	2014-06-17 04:44:27.000000000 +0800
+++ linux-3.15.1-update/drivers/usb/serial/option.c	2014-06-18 15:19:21.936561280 +0800
@@ -1542,6 +1542,7 @@ static const struct usb_device_id option
 	{ USB_VENDOR_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0xff, 0x02, 0x05) },
 	{ USB_VENDOR_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0xff, 0x86, 0x10) },
 	{ USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, ZTE_PRODUCT_AC2726, 0xff, 0xff, 0xff) },
+	{ USB_DEVICE_AND_INTERFACE_INFO(ZTE_VENDOR_ID, 0xfffe, 0xff, 0xff, 0xff) },
 
 	{ USB_DEVICE(BENQ_VENDOR_ID, BENQ_PRODUCT_H10) },
 	{ USB_DEVICE(DLINK_VENDOR_ID, DLINK_PRODUCT_DWM_652) },
diff -uprN -X linux-3.15.1/Documentation/dontdiff linux-3.15.1/drivers/usb/serial/zte_ev.c linux-3.15.1-update/drivers/usb/serial/zte_ev.c
--- linux-3.15.1/drivers/usb/serial/zte_ev.c	2014-06-17 04:44:27.000000000 +0800
+++ linux-3.15.1-update/drivers/usb/serial/zte_ev.c	2014-06-20 15:13:40.537941903 +0800
@@ -274,8 +274,6 @@ static void zte_ev_usb_serial_close(stru
 static const struct usb_device_id id_table[] = {
 	/* AC8710, AC8710T */
 	{ USB_DEVICE_AND_INTERFACE_INFO(0x19d2, 0xffff, 0xff, 0xff, 0xff) },
-	 /* AC8700 */
-	{ USB_DEVICE_AND_INTERFACE_INFO(0x19d2, 0xfffe, 0xff, 0xff, 0xff) },
 	/* MG880 */
 	{ USB_DEVICE(0x19d2, 0xfffd) },
 	{ USB_DEVICE(0x19d2, 0xfffc) },



thanks
leiliu��.n��������+%������w��{.n�����{���)��jg��������ݢj����G�������j:+v���w�m������w�������h�����٥





[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux