File: 8139too.c.0.9.26.patch

package info (click to toggle)
ifplugd 0.28-19.4
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 1,472 kB
  • sloc: ansic: 2,068; sh: 1,454; makefile: 134
file content (13 lines) | stat: -rw-r--r-- 339 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- 8139too.c.dist	Thu Oct 31 23:45:04 2002
+++ 8139too.c	Thu Oct 31 23:45:46 2002
@@ -2449,8 +2449,8 @@
 	int rc = 0;
 	int phy = tp->phys[0] & 0x3f;
 
-	if (!netif_running(dev))
-		return -EINVAL;
+//	if (!netif_running(dev))
+//		return -EINVAL;
 
 	if (cmd != SIOCETHTOOL) {
 		/* With SIOCETHTOOL, this would corrupt the pointer.  */