diff options
author | Samuel Ortiz <sameo@linux.intel.com> | 2010-04-16 11:52:09 +0200 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2010-04-16 11:52:09 +0200 |
commit | 585690f502940f4dd5db504055e47b9e0c7ca0f9 (patch) | |
tree | 09976f0fb3acc4b7d7e425381905fbd82607e0d5 /plugins/supplicant.c | |
parent | 6635afadae037049082dd703bb5ca69043457dbc (diff) | |
download | connman-585690f502940f4dd5db504055e47b9e0c7ca0f9.tar.gz connman-585690f502940f4dd5db504055e47b9e0c7ca0f9.tar.bz2 connman-585690f502940f4dd5db504055e47b9e0c7ca0f9.zip |
Remove supplicant and device scanning state cleaning
With wpa_supplicant 0.7, there is no need to handle potential issues with scan
results not being sent. Also, the state change is sent before the actual scan
results, so marking all networks available at that point is misleading.
Diffstat (limited to 'plugins/supplicant.c')
-rw-r--r-- | plugins/supplicant.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/plugins/supplicant.c b/plugins/supplicant.c index bdb21cd4..62aac112 100644 --- a/plugins/supplicant.c +++ b/plugins/supplicant.c @@ -1876,11 +1876,6 @@ static void state_change(struct supplicant_task *task, DBusMessage *msg) if (state == WPA_INVALID) return; - if (task->scanning == TRUE && state != WPA_SCANNING) { - connman_device_cleanup_scanning(task->device); - task->scanning = FALSE; - } - prevstate = task->state; task->state = state; |