projects
/
platform
/
upstream
/
connman.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3decf61
)
Revert supplicant change to always set scanning false after results
author
Marcel Holtmann
<marcel@holtmann.org>
Sat, 18 Jul 2009 07:16:03 +0000
(09:16 +0200)
committer
Marcel Holtmann
<marcel@holtmann.org>
Sat, 18 Jul 2009 07:16:03 +0000
(09:16 +0200)
plugins/supplicant.c
patch
|
blob
|
history
diff --git
a/plugins/supplicant.c
b/plugins/supplicant.c
index
c9db8b8
..
56efadf
100644
(file)
--- a/
plugins/supplicant.c
+++ b/
plugins/supplicant.c
@@
-1349,7
+1349,8
@@
static void get_properties(struct supplicant_task *task)
return;
noscan:
- connman_device_set_scanning(task->device, FALSE);
+ if (task->noscan == FALSE)
+ connman_device_set_scanning(task->device, FALSE);
}
static void scan_results_reply(DBusPendingCall *call, void *user_data)
@@
-1406,7
+1407,8
@@
done:
dbus_message_unref(reply);
noscan:
- connman_device_set_scanning(task->device, FALSE);
+ if (task->noscan == FALSE)
+ connman_device_set_scanning(task->device, FALSE);
}
static void scan_results_available(struct supplicant_task *task)