NET: usb: cdc_mbim: add quirk for supporting Telit LE922A
authorDaniele Palmas <dnlplm@gmail.com>
Wed, 7 Dec 2016 13:07:48 +0000 (14:07 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 8 Dec 2016 18:02:25 +0000 (13:02 -0500)
commit7b8076ce8a00d553ae9d3b7eb5f0cc3e63cb16f1
tree7a4e0137c5ea2cc61e8b69238b75a7859eb10589
parentec988ad78ed6d184a7f4ca6b8e962b0e8f1de461
NET: usb: cdc_mbim: add quirk for supporting Telit LE922A

Telit LE922A MBIM based composition does not work properly
with altsetting toggle done in cdc_ncm_bind_common.

This patch adds CDC_MBIM_FLAG_AVOID_ALTSETTING_TOGGLE quirk
to avoid this procedure that, instead, is mandatory for
other modems.

Signed-off-by: Daniele Palmas <dnlplm@gmail.com>
Reviewed-by: Bjørn Mork <bjorn@mork.no>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/cdc_mbim.c
drivers/net/usb/cdc_ncm.c
include/linux/usb/cdc_ncm.h