aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/main.c
diff options
context:
space:
mode:
authorJouni Malinen <jouni.malinen@atheros.com>2009-03-26 18:37:05 (GMT)
committerJouni Malinen <j@w1.fi>2009-03-26 18:37:05 (GMT)
commit2d5b792d2b7e8940bd860348443b1e579c14c53a (patch)
treea8f7688d3b772183bed7c93d3455eb1d8e60dbb2 /wpa_supplicant/main.c
parent89111f3bbcf65a99d14abaf6982c24b725de8329 (diff)
downloadhostap-2d5b792d2b7e8940bd860348443b1e579c14c53a.zip
hostap-2d5b792d2b7e8940bd860348443b1e579c14c53a.tar.gz
hostap-2d5b792d2b7e8940bd860348443b1e579c14c53a.tar.bz2
Add preliminary hostapd data structure initialization for AP mode
wpa_supplicant can now initialize hostapd data structures when mode=2 is used to set up an AP. The hostapd configuration is not yet set based on wpa_supplicant network configuration block. In addition, the glue code for hostapd driver_ops needs number of functions that will be needed for AP functionality.
Diffstat (limited to 'wpa_supplicant/main.c')
-rw-r--r--wpa_supplicant/main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/wpa_supplicant/main.c b/wpa_supplicant/main.c
index c936b9e..2ae8ae4 100644
--- a/wpa_supplicant/main.c
+++ b/wpa_supplicant/main.c
@@ -19,6 +19,9 @@
#include "common.h"
#include "wpa_supplicant_i.h"
+#include "driver_i.h"
+
+extern struct wpa_driver_ops *wpa_supplicant_drivers[];
static void usage(void)