File usb-rndis-lite-mtu.patch of Package usb-rndis-lite

Index: rndis_host.c
===================================================================
--- rndis_host.c	(Revision 3886)
+++ rndis_host.c	(Arbeitskopie)
@@ -525,7 +525,7 @@
 		dev_err(&intf->dev,
 			"dev can't take %u byte packets (max %u)\n",
 			dev->hard_mtu, tmp);
-		goto fail;
+		retval = -EINVAL;
 	}
 
 	/* REVISIT:  peripheral "alignment" request is ignored ... */
openSUSE Build Service is sponsored by