summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2009-07-21 11:29:01 +0200
committerMarcel Holtmann <marcel@holtmann.org>2009-07-21 11:29:01 +0200
commit952e96d67074370fca4f520911d6e364a77de7f2 (patch)
tree632d251aa9ce1f76fbc4a9e417c89b4cac79bffd
parentd78efecca1ca192652d1d3c0aad3674b6df757dd (diff)
downloadconnman-952e96d67074370fca4f520911d6e364a77de7f2.tar.gz
connman-952e96d67074370fca4f520911d6e364a77de7f2.tar.bz2
connman-952e96d67074370fca4f520911d6e364a77de7f2.zip
Remove broken and unused callback for joining networks
-rw-r--r--plugins/wifi.c21
1 files changed, 0 insertions, 21 deletions
diff --git a/plugins/wifi.c b/plugins/wifi.c
index 08b3d488..0cae37bb 100644
--- a/plugins/wifi.c
+++ b/plugins/wifi.c
@@ -132,26 +132,6 @@ static int wifi_scan(struct connman_device *device)
return supplicant_scan(device);
}
-static int wifi_join(struct connman_device *device,
- struct connman_network *network)
-{
- int err;
-
- DBG("device %p", device);
-
- err = supplicant_connect(network);
- if (err < 0)
- return err;
-
- connman_network_ref(network);
-
- connman_device_add_network(device, network);
-
- connman_network_set_available(network, TRUE);
-
- return 0;
-}
-
static struct connman_device_driver wifi_driver = {
.name = "wifi",
.type = CONNMAN_DEVICE_TYPE_WIFI,
@@ -160,7 +140,6 @@ static struct connman_device_driver wifi_driver = {
.enable = wifi_enable,
.disable = wifi_disable,
.scan = wifi_scan,
- .join = wifi_join,
};
static void wifi_register(void)