hal/hald/linux net_class_device.c,1.21,1.21.2.1
David Zeuthen
david at freedesktop.org
Fri Dec 10 10:26:51 PST 2004
Update of /cvs/hal/hal/hald/linux
In directory gabe:/tmp/cvs-serv17857/hald/linux
Modified Files:
Tag: hal-0_4-stable-branch
net_class_device.c
Log Message:
2004-12-10 David Zeuthen <david at fubar.dk>
* hald/linux/net_class_device.c (mii_get_link): Close the fd for link
detection before getting the rate
Index: net_class_device.c
===================================================================
RCS file: /cvs/hal/hal/hald/linux/net_class_device.c,v
retrieving revision 1.21
retrieving revision 1.21.2.1
diff -u -d -r1.21 -r1.21.2.1
--- net_class_device.c 26 Oct 2004 17:35:21 -0000 1.21
+++ net_class_device.c 10 Dec 2004 18:26:49 -0000 1.21.2.1
@@ -260,10 +260,11 @@
else
hal_device_property_set_bool (d, "net.80203.link", FALSE);
+ close (sockfd);
+
/* Also get the link rate */
mii_get_rate (d);
- close (sockfd);
}
static void
More information about the hal-commit
mailing list