hal: Branch 'master'
Danny Kukawka
dkukawka at kemper.freedesktop.org
Wed Nov 29 04:25:56 PST 2006
hald/linux/device.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
New commits:
diff-tree bb69852863c5fdc4aee276b10bcaab4f200f9cc1 (from 76c310d0efb5d463f06291cb02100b3b3ce1da71)
Author: Danny Kukawka <danny.kukawka at web.de>
Date: Wed Nov 29 13:25:05 2006 +0100
fixed compiler warning
Fixed a compiler warning within WLAN detection code for Linux.
diff --git a/hald/linux/device.c b/hald/linux/device.c
index 1fbb682..ed32461 100644
--- a/hald/linux/device.c
+++ b/hald/linux/device.c
@@ -200,7 +200,7 @@ net_add (const gchar *sysfs_path, const
snprintf (wiphy_path, HAL_PATH_MAX, "%s/wiphy", sysfs_path);
if ((stat (wireless_path, &s) == 0 && (s.st_mode & S_IFDIR)) ||
- (stat (wiphy_path, &s) == 0) && (s.st_mode & S_IFDIR)) {
+ (stat (wiphy_path, &s) == 0 && (s.st_mode & S_IFDIR))) {
hal_device_property_set_string (d, "info.product", "WLAN Interface");
hal_device_property_set_string (d, "info.category", "net.80211");
hal_device_add_capability (d, "net.80211");
More information about the hal-commit
mailing list