aboutsummaryrefslogtreecommitdiffstats
path: root/src/drivers/driver_none.c
diff options
context:
space:
mode:
authorJouni Malinen <jouni.malinen@atheros.com>2009-04-09 20:28:21 (GMT)
committerJouni Malinen <j@w1.fi>2009-04-09 20:28:21 (GMT)
commit92f475b4d871c56d336df963fa7169f2e38d5980 (patch)
tree101c7fa64b33696a270545835e6c6ed1f907f8d0 /src/drivers/driver_none.c
parent989f52c639ffc602ab7b514db2e19c34ce269292 (diff)
downloadhostap-92f475b4d871c56d336df963fa7169f2e38d5980.zip
hostap-92f475b4d871c56d336df963fa7169f2e38d5980.tar.gz
hostap-92f475b4d871c56d336df963fa7169f2e38d5980.tar.bz2
Merge hostapd driver init functions into one
Use a parameter structure to pass in information that can be more easily extended in the future. Include some of the parameters that were previously read directly from hapd->conf in order to reduce need for including hostapd/config.h into driver wrappers.
Diffstat (limited to 'src/drivers/driver_none.c')
-rw-r--r--src/drivers/driver_none.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/drivers/driver_none.c b/src/drivers/driver_none.c
index 56fb344..31b1076 100644
--- a/src/drivers/driver_none.c
+++ b/src/drivers/driver_none.c
@@ -23,7 +23,8 @@ struct none_driver_data {
};
-static void * none_driver_init(struct hostapd_data *hapd)
+static void * none_driver_init(struct hostapd_data *hapd,
+ struct wpa_init_params *params)
{
struct none_driver_data *drv;