Re: [OpenWrt-Devel] [PATCH] comgt: Allow using non-TTY devices

2015-01-16 Thread John Crispin
On 13/01/2015 18:00, Matti Laakso wrote: > Some Huawei mobile broadband sticks utilizing the NCM protocol expose > the control channel as a cdc-wdm device node instead of a virtual TTY. > This device node does not support the terminal ioctls. This patch > adds a check whether the provided device

[OpenWrt-Devel] [PATCH] comgt: Allow using non-TTY devices

2015-01-13 Thread Matti Laakso
Some Huawei mobile broadband sticks utilizing the NCM protocol expose the control channel as a cdc-wdm device node instead of a virtual TTY. This device node does not support the terminal ioctls. This patch adds a check whether the provided device is a TTY or not and does not attempt to use the ter