diff options
author | Michael Büsch <mb@bu3sch.de> | 2008-02-16 19:01:59 +0000 |
---|---|---|
committer | Michael Büsch <mb@bu3sch.de> | 2008-02-16 19:01:59 +0000 |
commit | 5fc0f1831613a0166a93b7b8701b19617fbc3b34 (patch) | |
tree | 31f2a326d5ecfd5da17df4953fbe9274172f8486 /package/hostapd/patches | |
parent | 794ddf6b63a96b9cb8b573b94933f877d57b73bb (diff) | |
download | upstream-5fc0f1831613a0166a93b7b8701b19617fbc3b34.tar.gz upstream-5fc0f1831613a0166a93b7b8701b19617fbc3b34.tar.bz2 upstream-5fc0f1831613a0166a93b7b8701b19617fbc3b34.zip |
Enable nl80211 support in hostapd.
SVN-Revision: 10470
Diffstat (limited to 'package/hostapd/patches')
-rw-r--r-- | package/hostapd/patches/007-add-nl80211-driver.patch | 28 |
1 files changed, 26 insertions, 2 deletions
diff --git a/package/hostapd/patches/007-add-nl80211-driver.patch b/package/hostapd/patches/007-add-nl80211-driver.patch index 538890c3ed..6c450fcda2 100644 --- a/package/hostapd/patches/007-add-nl80211-driver.patch +++ b/package/hostapd/patches/007-add-nl80211-driver.patch @@ -1,7 +1,7 @@ Index: hostapd-20071107_03ec0ec5cdb974d51a4a2a566bea4c4568138576/hostapd/Makefile =================================================================== ---- hostapd-20071107_03ec0ec5cdb974d51a4a2a566bea4c4568138576.orig/hostapd/Makefile 2007-11-16 05:08:24.000000000 +0100 -+++ hostapd-20071107_03ec0ec5cdb974d51a4a2a566bea4c4568138576/hostapd/Makefile 2008-02-16 19:38:51.000000000 +0100 +--- hostapd-20071107_03ec0ec5cdb974d51a4a2a566bea4c4568138576.orig/hostapd/Makefile 2008-02-16 19:44:22.000000000 +0100 ++++ hostapd-20071107_03ec0ec5cdb974d51a4a2a566bea4c4568138576/hostapd/Makefile 2008-02-16 19:44:34.000000000 +0100 @@ -121,6 +121,12 @@ OBJS += driver_devicescape.o LIBS += -lnl endif @@ -15,3 +15,27 @@ Index: hostapd-20071107_03ec0ec5cdb974d51a4a2a566bea4c4568138576/hostapd/Makefil ifdef CONFIG_DRIVER_BSD CFLAGS += -DCONFIG_DRIVER_BSD OBJS += driver_bsd.o +Index: hostapd-20071107_03ec0ec5cdb974d51a4a2a566bea4c4568138576/hostapd/drivers.c +=================================================================== +--- hostapd-20071107_03ec0ec5cdb974d51a4a2a566bea4c4568138576.orig/hostapd/drivers.c 2007-11-16 05:08:24.000000000 +0100 ++++ hostapd-20071107_03ec0ec5cdb974d51a4a2a566bea4c4568138576/hostapd/drivers.c 2008-02-16 19:56:29.000000000 +0100 +@@ -22,6 +22,9 @@ extern struct wpa_driver_ops wpa_driver_ + /* driver_devicescape.c */ + extern struct wpa_driver_ops wpa_driver_devicescape_ops; + #endif /* CONFIG_DRIVER_DEVICESCAPE */ ++#ifdef CONFIG_DRIVER_NL80211 ++extern struct wpa_driver_ops wpa_driver_nl80211_ops; /* driver_nl80211.c */ ++#endif /* CONFIG_DRIVER_NL80211 */ + #ifdef CONFIG_DRIVER_PRISM54 + extern struct wpa_driver_ops wpa_driver_prism54_ops; /* driver_prism54.c */ + #endif /* CONFIG_DRIVER_PRISM54 */ +@@ -47,6 +50,9 @@ struct wpa_driver_ops *hostapd_drivers[] + #ifdef CONFIG_DRIVER_DEVICESCAPE + &wpa_driver_devicescape_ops, + #endif /* CONFIG_DRIVER_DEVICESCAPE */ ++#ifdef CONFIG_DRIVER_NL80211 ++ &wpa_driver_nl80211_ops, ++#endif /* CONFIG_DRIVER_NL80211 */ + #ifdef CONFIG_DRIVER_PRISM54 + &wpa_driver_prism54_ops, + #endif /* CONFIG_DRIVER_PRISM54 */ |