diff options
author | sam <sam@FreeBSD.org> | 2007-07-11 15:48:36 +0000 |
---|---|---|
committer | sam <sam@FreeBSD.org> | 2007-07-11 15:48:36 +0000 |
commit | 35aef052ff21baa52c4cec68b512986c21f70a48 (patch) | |
tree | c3da7f33886a852f7dceb74373fbdeec49a48f77 /contrib/wpa_supplicant/drivers.c | |
parent | 840099f34d8de1ca769f02fae379c4d8e5d6688a (diff) | |
download | FreeBSD-src-35aef052ff21baa52c4cec68b512986c21f70a48.zip FreeBSD-src-35aef052ff21baa52c4cec68b512986c21f70a48.tar.gz |
Import of WPA supplicant 0.5.8
Diffstat (limited to 'contrib/wpa_supplicant/drivers.c')
-rw-r--r-- | contrib/wpa_supplicant/drivers.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/contrib/wpa_supplicant/drivers.c b/contrib/wpa_supplicant/drivers.c index 4fd0509..d7cbbbd 100644 --- a/contrib/wpa_supplicant/drivers.c +++ b/contrib/wpa_supplicant/drivers.c @@ -1,6 +1,6 @@ /* * WPA Supplicant / driver interface list - * Copyright (c) 2004-2005, Jouni Malinen <jkmaline@cc.hut.fi> + * Copyright (c) 2004-2005, Jouni Malinen <j@w1.fi> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as @@ -12,9 +12,12 @@ * See README and COPYING for more details. */ -#include <stdlib.h> +#include "includes.h" +#ifdef CONFIG_DRIVER_WEXT +extern struct wpa_driver_ops wpa_driver_wext_ops; /* driver_wext.c */ +#endif /* CONFIG_DRIVER_WEXT */ #ifdef CONFIG_DRIVER_HOSTAP extern struct wpa_driver_ops wpa_driver_hostap_ops; /* driver_hostap.c */ #endif /* CONFIG_DRIVER_HOSTAP */ @@ -30,9 +33,6 @@ extern struct wpa_driver_ops wpa_driver_madwifi_ops; /* driver_madwifi.c */ #ifdef CONFIG_DRIVER_ATMEL extern struct wpa_driver_ops wpa_driver_atmel_ops; /* driver_atmel.c */ #endif /* CONFIG_DRIVER_ATMEL */ -#ifdef CONFIG_DRIVER_WEXT -extern struct wpa_driver_ops wpa_driver_wext_ops; /* driver_wext.c */ -#endif /* CONFIG_DRIVER_WEXT */ #ifdef CONFIG_DRIVER_NDISWRAPPER /* driver_ndiswrapper.c */ extern struct wpa_driver_ops wpa_driver_ndiswrapper_ops; @@ -59,6 +59,9 @@ extern struct wpa_driver_ops wpa_driver_test_ops; /* driver_test.c */ struct wpa_driver_ops *wpa_supplicant_drivers[] = { +#ifdef CONFIG_DRIVER_WEXT + &wpa_driver_wext_ops, +#endif /* CONFIG_DRIVER_WEXT */ #ifdef CONFIG_DRIVER_HOSTAP &wpa_driver_hostap_ops, #endif /* CONFIG_DRIVER_HOSTAP */ @@ -74,9 +77,6 @@ struct wpa_driver_ops *wpa_supplicant_drivers[] = #ifdef CONFIG_DRIVER_ATMEL &wpa_driver_atmel_ops, #endif /* CONFIG_DRIVER_ATMEL */ -#ifdef CONFIG_DRIVER_WEXT - &wpa_driver_wext_ops, -#endif /* CONFIG_DRIVER_WEXT */ #ifdef CONFIG_DRIVER_NDISWRAPPER &wpa_driver_ndiswrapper_ops, #endif /* CONFIG_DRIVER_NDISWRAPPER */ |