aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/sme.c
diff options
context:
space:
mode:
authorLuciano Coelho <coelho@ti.com>2011-09-27 19:21:31 (GMT)
committerJouni Malinen <j@w1.fi>2011-10-15 15:53:13 (GMT)
commita4cba8f1e208c95218f89daec01cbcb59d97dc6c (patch)
tree5b778c7d30bd15b01f3771345628b0ba4bd5b373 /wpa_supplicant/sme.c
parentd21c63b925ac0d7dd5e5697445dc598591d8c1b7 (diff)
downloadhostap-a4cba8f1e208c95218f89daec01cbcb59d97dc6c.zip
hostap-a4cba8f1e208c95218f89daec01cbcb59d97dc6c.tar.gz
hostap-a4cba8f1e208c95218f89daec01cbcb59d97dc6c.tar.bz2
Use sched_scan in driver init
This patch uses sched_scan, if available, when the driver is initialized. It also adds a couple of cancel operations where appropriate. Signed-off-by: Luciano Coelho <coelho@ti.com>
Diffstat (limited to 'wpa_supplicant/sme.c')
-rw-r--r--wpa_supplicant/sme.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/wpa_supplicant/sme.c b/wpa_supplicant/sme.c
index dbf385e..4cb5062 100644
--- a/wpa_supplicant/sme.c
+++ b/wpa_supplicant/sme.c
@@ -237,6 +237,7 @@ void sme_authenticate(struct wpa_supplicant *wpa_s,
}
#endif /* CONFIG_P2P */
+ wpa_supplicant_cancel_sched_scan(wpa_s);
wpa_supplicant_cancel_scan(wpa_s);
wpa_msg(wpa_s, MSG_INFO, "SME: Trying to authenticate with " MACSTR