aboutsummaryrefslogtreecommitdiffstats
path: root/src/drivers/driver_bsd.c
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2009-12-12 21:55:09 (GMT)
committerJouni Malinen <j@w1.fi>2009-12-12 21:55:09 (GMT)
commitc9b9e494fc1a705de149ee099556dc8be64e3b38 (patch)
treee7a672409eaa24ea4a08913fd13c3eee831b46b2 /src/drivers/driver_bsd.c
parentaf586419fd87de9aa7dee1d219ed4b352cd8274e (diff)
downloadhostap-c9b9e494fc1a705de149ee099556dc8be64e3b38.zip
hostap-c9b9e494fc1a705de149ee099556dc8be64e3b38.tar.gz
hostap-c9b9e494fc1a705de149ee099556dc8be64e3b38.tar.bz2
driver_bsd: Fix build after previous commit
Diffstat (limited to 'src/drivers/driver_bsd.c')
-rw-r--r--src/drivers/driver_bsd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/driver_bsd.c b/src/drivers/driver_bsd.c
index 81ac8ad..400c7b0 100644
--- a/src/drivers/driver_bsd.c
+++ b/src/drivers/driver_bsd.c
@@ -335,7 +335,7 @@ bsd_set_ieee8021x(void *priv, struct wpa_bss_params *params)
HOSTAPD_LEVEL_WARNING, "No 802.1X or WPA enabled!");
return -1;
}
- if (params->wpa && bsd_configure_wpa(drv) != 0) {
+ if (params->wpa && bsd_configure_wpa(drv, params) != 0) {
hostapd_logger(drv->hapd, NULL, HOSTAPD_MODULE_DRIVER,
HOSTAPD_LEVEL_WARNING, "Error configuring WPA state!");
return -1;