|
@@ -1412,7 +1412,7 @@ static int qmi_wwan_probe(struct usb_interface *intf,
|
|
|
* different. Ignore the current interface if the number of endpoints
|
|
* different. Ignore the current interface if the number of endpoints
|
|
|
* equals the number for the diag interface (two).
|
|
* equals the number for the diag interface (two).
|
|
|
*/
|
|
*/
|
|
|
- info = (void *)&id->driver_info;
|
|
|
|
|
|
|
+ info = (void *)id->driver_info;
|
|
|
|
|
|
|
|
if (info->data & QMI_WWAN_QUIRK_QUECTEL_DYNCFG) {
|
|
if (info->data & QMI_WWAN_QUIRK_QUECTEL_DYNCFG) {
|
|
|
if (desc->bNumEndpoints == 2)
|
|
if (desc->bNumEndpoints == 2)
|