Re: huawei E5776 not working anymore

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Am 2014-04-30 22:12, schrieb Eduard Hasenleithner:
> As Thomas Schäfer reported, the E5776 does not work anymore with kernel
> 3.13. I bisected the problem and found commit
> 	6a9612e2cb22b3fd6a7304dcbf2b4ee1cf2104b2
> being the first bad commit.
> 
> Does this give you already enough hints on what goes wrong, or do I need
> to focus the problem to a particular source line?

Follow-up to my own email. When reverting these two Hunks, the device
starts working again:

@@ -473,10 +482,6 @@ advance:
 	if (temp)
 		goto error2;

-	/* initialize data interface */
-	if (cdc_ncm_setup(dev))
-		goto error2;
-
 	/* configure data interface */
 	temp = usb_set_interface(dev->udev, iface_no, data_altsetting);
 	if (temp)
@@ -487,6 +492,10 @@ advance:
 	if (!dev->in || !dev->out || !dev->status)
 		goto error2;

+	/* initialize data interface */
+	if (cdc_ncm_setup(dev))
+		goto error2;
+
 	dev->net->ethtool_ops = &cdc_ncm_ethtool_ops;

 	usb_set_intfdata(ctx->data, dev);

Br Eduard

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux