Bjørn Mork <bjorn@xxxxxxx> [2015-11-05 12:03:36]: > make this function return bool. And the patch should go to netdev. Thanks, done. > With those changes it looks good to me. But I haven't tested it, so I > trust your testing :) usb 2-1.2: new high-speed USB device number 3 using ci_hdrc qcserial 2-1.2:1.0: Qualcomm USB modem converter detected usb 2-1.2: Qualcomm USB modem converter now attached to ttyUSB0 qcserial 2-1.2:1.1: Qualcomm USB modem converter detected usb 2-1.2: Qualcomm USB modem converter now attached to ttyUSB1 qcserial 2-1.2:1.2: Qualcomm USB modem converter detected usb 2-1.2: Qualcomm USB modem converter now attached to ttyUSB2 qcserial 2-1.2:1.3: Qualcomm USB modem converter detected usb 2-1.2: Qualcomm USB modem converter now attached to ttyUSB3 qmi_wwan 2-1.2:1.4: cdc-wdm0: USB WDM device qmi_wwan 2-1.2:1.4 wwan0: register 'qmi_wwan' at usb-ci_hdrc.1-1.2, WWAN/QMI device, 56:3a:52:a3:e9:f7 root@OpenWrt:/# ifconfig wwan0 wwan0 Link encap:Ethernet HWaddr 56:3A:52:A3:E9:F7 BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) root@OpenWrt:/# uqmi -d /dev/cdc-wdm0 --get-capabilities { "max_tx_channel_rate": 50000000, "max_rx_channel_rate": 100000000, "data_service": "non_simultaneous_cs_ps", "sim": "supported", "networks": [ "gsm", "umts", "lte" ] } root@OpenWrt:/# microcom -s115200 /dev/ttyUSB2 AT+QGPS=1 OK root@OpenWrt:/# microcom -s115200 /dev/ttyUSB1 $GPRMC,,V,,,,,,,,,,N*53 $GPVTG,,T,,M,,N,,K,N*2C -- ynezz -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html