Skip to content

Commit 0000188

Browse files
andrewbirddavem330
authored andcommitted
USB: qmi_wwan: Make forced int 4 whitelist generic
Change the forced interface 4 whitelist to use the generic shared binder instead of the Gobi specific one. Certain ZTE devices (K3520-Z & K3765-Z) don't work with the Gobi version, but function quite happily with the generic. This has been tested with the following devices: K3520-Z K3565-Z K3765-Z K4505-Z It hasn't been tested with the ZTE MF820D, which is the only other device that uses this whitelist at present. Although Bjorn doesn't expect any problems, any testing with that device would be appreciated. Signed-off-by: Andrew Bird <ajb@spheresystems.co.uk> Acked-by: Bjørn Mork <bjorn@mork.no> Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent 413c27d commit 0000188

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/net/usb/qmi_wwan.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -357,9 +357,9 @@ static const struct driver_info qmi_wwan_gobi = {
357357

358358
/* ZTE suck at making USB descriptors */
359359
static const struct driver_info qmi_wwan_force_int4 = {
360-
.description = "Qualcomm Gobi wwan/QMI device",
360+
.description = "Qualcomm WWAN/QMI device",
361361
.flags = FLAG_WWAN,
362-
.bind = qmi_wwan_bind_gobi,
362+
.bind = qmi_wwan_bind_shared,
363363
.unbind = qmi_wwan_unbind_shared,
364364
.manage_power = qmi_wwan_manage_power,
365365
.data = BIT(4), /* interface whitelist bitmap */

0 commit comments

Comments
 (0)