diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2009-07-16 02:45:00 +0200 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2009-07-16 02:45:00 +0200 |
commit | 1d378f14bafba8124bd498af985ada52e4797c3e (patch) | |
tree | 37d089139365d305aadf692172b5994de509d13c /plugins/supplicant.c | |
parent | e6be58c2322fab098466d66816d99f67ae5a210f (diff) | |
download | connman-1d378f14bafba8124bd498af985ada52e4797c3e.tar.gz connman-1d378f14bafba8124bd498af985ada52e4797c3e.tar.bz2 connman-1d378f14bafba8124bd498af985ada52e4797c3e.zip |
Remove wrongly committed connection patch for supplicant
Diffstat (limited to 'plugins/supplicant.c')
-rw-r--r-- | plugins/supplicant.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/plugins/supplicant.c b/plugins/supplicant.c index 958200ef..b964ae7a 100644 --- a/plugins/supplicant.c +++ b/plugins/supplicant.c @@ -185,7 +185,6 @@ struct supplicant_task { gboolean noscan; GSList *scan_results; struct iw_range *range; - gboolean connecting; gboolean disconnecting; }; @@ -1495,8 +1494,6 @@ static int task_connect(struct supplicant_task *task) if (g_str_equal(security, "none") == FALSE && passphrase == NULL) return -EINVAL; - task->connecting = TRUE; - add_network(task); select_network(task); @@ -1596,7 +1593,6 @@ static void state_change(struct supplicant_task *task, DBusMessage *msg) /* carrier on */ connman_network_set_connected(task->network, TRUE); connman_device_set_scanning(task->device, FALSE); - task->connecting = FALSE; break; case WPA_DISCONNECTED: @@ -1614,7 +1610,6 @@ static void state_change(struct supplicant_task *task, DBusMessage *msg) /* carrier off */ connman_network_set_connected(task->network, FALSE); connman_device_set_scanning(task->device, FALSE); - task->connecting = FALSE; } break; @@ -1694,7 +1689,6 @@ int supplicant_start(struct connman_device *device) task->created = FALSE; task->noscan = FALSE; task->state = WPA_INVALID; - task->connecting = FALSE; task->disconnecting = FALSE; task->pending_network = NULL; |