hal/libhal libhal.c,1.45,1.46
David Zeuthen
david at freedesktop.org
Thu Mar 24 19:24:54 PST 2005
Update of /cvs/hal/hal/libhal
In directory gabe:/tmp/cvs-serv13098/libhal
Modified Files:
libhal.c
Log Message:
2005-03-24 David Zeuthen <davidz at redhat.com>
* libhal/libhal.c (filter_func): Stupid bug; checked for ctx->
device_new_capability, but should check for ctx->device_condition
* hald/linux2/physdev.c (pci_add): Even more stupid bug; somehow
the hal_util_set_driver were enclosed in an if statement, thus
rendering the next statement conditional (the one that sets
pci.product_id)
Index: libhal.c
===================================================================
RCS file: /cvs/hal/hal/libhal/libhal.c,v
retrieving revision 1.45
retrieving revision 1.46
diff -u -d -r1.45 -r1.46
--- libhal.c 2 Mar 2005 19:27:43 -0000 1.45
+++ libhal.c 25 Mar 2005 03:24:51 -0000 1.46
@@ -690,7 +690,7 @@
DBUS_TYPE_STRING, &condition_name,
DBUS_TYPE_STRING, &condition_detail,
DBUS_TYPE_INVALID)) {
- if (ctx->device_new_capability != NULL) {
+ if (ctx->device_condition != NULL) {
ctx->device_condition (ctx, object_path, condition_name, condition_detail);
}
}
More information about the hal-commit
mailing list