diff options
author | Samuel Ortiz <sameo@linux.intel.com> | 2010-09-20 16:07:42 +0200 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2010-09-20 16:08:57 +0200 |
commit | 0cd34710243834dc0db493a29c8a3fde1e0f72a8 (patch) | |
tree | 7d8fd6ea300cc0be16a23fd002f86e47b5da0790 /plugins | |
parent | addd2af53753a3062ff02c4316045ee3cde5f292 (diff) | |
download | connman-0cd34710243834dc0db493a29c8a3fde1e0f72a8.tar.gz connman-0cd34710243834dc0db493a29c8a3fde1e0f72a8.tar.bz2 connman-0cd34710243834dc0db493a29c8a3fde1e0f72a8.zip |
Remove last ConnMan dependency for GSupplicant
This is achieved through the addition of a debug callback.
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/wifi.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/plugins/wifi.c b/plugins/wifi.c index f8bd87e4..ee826e90 100644 --- a/plugins/wifi.c +++ b/plugins/wifi.c @@ -473,6 +473,11 @@ static void network_removed(GSupplicantNetwork *network) DBG("* name %s", name); } +static void debug(const char *str) +{ + connman_debug("gsupplicant: %s", str); +} + static const GSupplicantCallbacks callbacks = { .system_ready = system_ready, .system_killed = system_killed, @@ -483,6 +488,7 @@ static const GSupplicantCallbacks callbacks = { .scan_finished = scan_finished, .network_added = network_added, .network_removed = network_removed, + .debug = debug, }; |