projects
/
platform
/
upstream
/
connman.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a1f57d6
)
gsupplicant: Call select_network callback
author
Samuel Ortiz
<sameo@linux.intel.com>
Mon, 31 Jan 2011 17:55:35 +0000
(18:55 +0100)
committer
Samuel Ortiz
<sameo@linux.intel.com>
Wed, 2 Feb 2011 17:45:37 +0000
(18:45 +0100)
gsupplicant/supplicant.c
patch
|
blob
|
history
diff --git
a/gsupplicant/supplicant.c
b/gsupplicant/supplicant.c
index
b3e51cf
..
0bd58b9
100644
(file)
--- a/
gsupplicant/supplicant.c
+++ b/
gsupplicant/supplicant.c
@@
-2391,9
+2391,17
@@
static void interface_select_network_result(const char *error,
DBusMessageIter *iter, void *user_data)
{
struct interface_connect_data *data = user_data;
+ int err;
SUPPLICANT_DBG("");
+ err = 0;
+ if (error != NULL)
+ err = -EIO;
+
+ if (data->callback != NULL)
+ data->callback(err, data->interface, data->user_data);
+
g_free(data->ssid);
dbus_free(data);
}