driver_bsd: Fix build after previous commit
authorJouni Malinen <j@w1.fi>
Sat, 12 Dec 2009 21:55:09 +0000 (23:55 +0200)
committerJouni Malinen <j@w1.fi>
Sat, 12 Dec 2009 21:55:09 +0000 (23:55 +0200)
src/drivers/driver_bsd.c

index 81ac8ad..400c7b0 100644 (file)
@@ -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;