summaryrefslogtreecommitdiff
path: root/plugins/wifi.c
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2009-01-04 18:06:11 +0100
committerMarcel Holtmann <marcel@holtmann.org>2009-01-04 18:06:11 +0100
commit0890f0dcc8c42b4d2de01e42a577fb570b29b6a9 (patch)
treea1a9698676c6a886bbd9f30fc213888aa24e412a /plugins/wifi.c
parent9becf7a55594656e9eab6ee11e7a72af4924ad2c (diff)
downloadconnman-0890f0dcc8c42b4d2de01e42a577fb570b29b6a9.tar.gz
connman-0890f0dcc8c42b4d2de01e42a577fb570b29b6a9.tar.bz2
connman-0890f0dcc8c42b4d2de01e42a577fb570b29b6a9.zip
Use global supplicant filter matching rule
Diffstat (limited to 'plugins/wifi.c')
-rw-r--r--plugins/wifi.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/wifi.c b/plugins/wifi.c
index 6459f760..454c6a0f 100644
--- a/plugins/wifi.c
+++ b/plugins/wifi.c
@@ -510,7 +510,8 @@ static void wifi_register(void)
{
DBG("");
- connman_device_driver_register(&wifi_driver);
+ if (connman_device_driver_register(&wifi_driver) < 0)
+ connman_error("Failed to register WiFi driver");
}
static void wifi_unregister(void)