538890c3ed6231299e0dc2e9f433666e31b3d60b
[openwrt/svn-archive/archive.git] / package / hostapd / patches / 007-add-nl80211-driver.patch
1 Index: hostapd-20071107_03ec0ec5cdb974d51a4a2a566bea4c4568138576/hostapd/Makefile
2 ===================================================================
3 --- hostapd-20071107_03ec0ec5cdb974d51a4a2a566bea4c4568138576.orig/hostapd/Makefile 2007-11-16 05:08:24.000000000 +0100
4 +++ hostapd-20071107_03ec0ec5cdb974d51a4a2a566bea4c4568138576/hostapd/Makefile 2008-02-16 19:38:51.000000000 +0100
5 @@ -121,6 +121,12 @@ OBJS += driver_devicescape.o
6 LIBS += -lnl
7 endif
8
9 +ifdef CONFIG_DRIVER_NL80211
10 +CFLAGS += -DCONFIG_DRIVER_NL80211
11 +OBJS += driver_nl80211.o radiotap.o
12 +LIBS += -lnl
13 +endif
14 +
15 ifdef CONFIG_DRIVER_BSD
16 CFLAGS += -DCONFIG_DRIVER_BSD
17 OBJS += driver_bsd.o