aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/bgscan.c
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2010-07-10 22:55:48 (GMT)
committerJouni Malinen <j@w1.fi>2010-07-10 22:55:48 (GMT)
commitc4d71c25057465e18941b57765b45f5626b9e314 (patch)
treeaecf22001913cadbd24ab54996b2b01ee4a7973e /wpa_supplicant/bgscan.c
parentc2594c3677c8f529febe31600afb95e61d8b39bb (diff)
downloadhostap-c4d71c25057465e18941b57765b45f5626b9e314.zip
hostap-c4d71c25057465e18941b57765b45f5626b9e314.tar.gz
hostap-c4d71c25057465e18941b57765b45f5626b9e314.tar.bz2
bgscan: Add starting point for more advanced bgscan module: learn
This is based on the bgscan "simple" module and this initial commit does not add any new functionality.
Diffstat (limited to 'wpa_supplicant/bgscan.c')
-rw-r--r--wpa_supplicant/bgscan.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/wpa_supplicant/bgscan.c b/wpa_supplicant/bgscan.c
index a0d98db..e5fdfc4 100644
--- a/wpa_supplicant/bgscan.c
+++ b/wpa_supplicant/bgscan.c
@@ -22,11 +22,17 @@
#ifdef CONFIG_BGSCAN_SIMPLE
extern const struct bgscan_ops bgscan_simple_ops;
#endif /* CONFIG_BGSCAN_SIMPLE */
+#ifdef CONFIG_BGSCAN_LEARN
+extern const struct bgscan_ops bgscan_learn_ops;
+#endif /* CONFIG_BGSCAN_LEARN */
static const struct bgscan_ops * bgscan_modules[] = {
#ifdef CONFIG_BGSCAN_SIMPLE
&bgscan_simple_ops,
#endif /* CONFIG_BGSCAN_SIMPLE */
+#ifdef CONFIG_BGSCAN_LEARN
+ &bgscan_learn_ops,
+#endif /* CONFIG_BGSCAN_LEARN */
NULL
};