drivers: net: usb: qmi_wwan: add QMI_QUIRK_SET_DTR for Telit PID 0x1201
authorDaniele Palmas <dnlplm@gmail.com>
Mon, 10 Apr 2017 15:34:23 +0000 (17:34 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 13 Apr 2017 16:36:31 +0000 (12:36 -0400)
commit14cf4a771b3098e431d2677e3533bdd962e478d8
tree2a235d272762db35d6390cc3b329fd514f09598c
parenta2d6cbb0670d54806f18192cb0db266b4a6d285a
drivers: net: usb: qmi_wwan: add QMI_QUIRK_SET_DTR for Telit PID 0x1201

Telit LE920A4 uses the same pid 0x1201 of LE920, but modem
implementation is different, since it requires DTR to be set for
answering to qmi messages.

This patch replaces QMI_FIXED_INTF with QMI_QUIRK_SET_DTR: tests on
LE920 have been performed in order to verify backward compatibility.

Signed-off-by: Daniele Palmas <dnlplm@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/qmi_wwan.c