summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2009-11-26 09:13:16 +0100
committerMarcel Holtmann <marcel@holtmann.org>2009-11-26 09:13:16 +0100
commit919622c44f277e7c977ed4a2573086d04ac1cec1 (patch)
tree76f2b0f4cfcce7c268d9f9b2db590f0013d66061 /plugins
parentcad4b718dd764984b1fb917dd255958adab64680 (diff)
downloadconnman-919622c44f277e7c977ed4a2573086d04ac1cec1.tar.gz
connman-919622c44f277e7c977ed4a2573086d04ac1cec1.tar.bz2
connman-919622c44f277e7c977ed4a2573086d04ac1cec1.zip
Trigger background scan after successful connection
Diffstat (limited to 'plugins')
-rw-r--r--plugins/supplicant.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/supplicant.c b/plugins/supplicant.c
index b4501f83..cbefeaad 100644
--- a/plugins/supplicant.c
+++ b/plugins/supplicant.c
@@ -1605,6 +1605,9 @@ static void state_change(struct supplicant_task *task, DBusMessage *msg)
switch (task->state) {
case WPA_COMPLETED:
+ /* reset scan trigger and schedule background scan */
+ connman_device_schedule_scan(task->device);
+
if (get_bssid(task->device, bssid, &bssid_len) == 0)
connman_network_set_address(task->network,
bssid, bssid_len);