Commit 6f5ec16e authored by Bjørn Mork's avatar Bjørn Mork Committed by Greg Kroah-Hartman
Browse files

qmi_wwan: set DTR for modems in forced USB2 mode



[ Upstream commit 922005c7 ]

Recent firmware revisions have added the ability to force
these modems to USB2 mode, hiding their SuperSpeed
capabilities from the host.  The driver has been using the
SuperSpeed capability, as shown by the bcdUSB field of the
device descriptor, to detect the need to enable the DTR
quirk.  This method fails when the modems are forced to
USB2 mode by the modem firmware.

Fix by unconditionally enabling the DTR quirk for the
affected device IDs.

Reported-by: default avatarFred Veldini <fred.veldini@gmail.com>
Reported-by: default avatarDeshu Wen <dwen@sierrawireless.com>
Signed-off-by: default avatarBjørn Mork <bjorn@mork.no>
Reported-by: default avatarFred Veldini <fred.veldini@gmail.com>
Reported-by: default avatarDeshu Wen <dwen@sierrawireless.com>
Signed-off-by: default avatarBjørn Mork <bjorn@mork.no>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent f3aa1f3a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment