summaryrefslogtreecommitdiff
path: root/plugins/dundee.c
diff options
context:
space:
mode:
authorDaniel Wagner <daniel.wagner@bmw-carit.de>2012-06-05 18:27:35 +0200
committerPatrik Flykt <patrik.flykt@linux.intel.com>2012-06-06 14:58:48 +0300
commit2b94e639f6a6a87e4a303d53b7e5c33f1b489083 (patch)
tree3512be084465ccf71dbea4ae8a9f17a93f6386d0 /plugins/dundee.c
parent82c1acdc425cc1066bb0fd888abff3adb5cc05ad (diff)
downloadconnman-2b94e639f6a6a87e4a303d53b7e5c33f1b489083.tar.gz
connman-2b94e639f6a6a87e4a303d53b7e5c33f1b489083.tar.bz2
connman-2b94e639f6a6a87e4a303d53b7e5c33f1b489083.zip
dundee: Fix wrong casting
Diffstat (limited to 'plugins/dundee.c')
-rw-r--r--plugins/dundee.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/dundee.c b/plugins/dundee.c
index 19479acc..045f6398 100644
--- a/plugins/dundee.c
+++ b/plugins/dundee.c
@@ -350,9 +350,9 @@ static int dundee_probe(struct connman_device *device)
g_hash_table_iter_init(&iter, dundee_devices);
while (g_hash_table_iter_next(&iter, &key, &value) == TRUE) {
- struct connman_device *device_dun = value;
+ struct dundee_data *info = value;
- if (device == device_dun)
+ if (device == info->device)
return 0;
}