X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;f=package%2Fnetwork%2Fservices%2Fhostapd%2Fpatches%2F700-make-make-work.patch;fp=package%2Fnetwork%2Fservices%2Fhostapd%2Fpatches%2F700-make-make-work.patch;h=643061ab5bae737c94cc8cc82a3c27f88469e324;hb=b67af71181daac3b502fd58d04c021615a23ea39;hp=0000000000000000000000000000000000000000;hpb=a3cde627f8acbaaa7bed88ed81577bb23b697fcf;p=openwrt%2Fstaging%2Fdedeckeh.git diff --git a/package/network/services/hostapd/patches/700-make-make-work.patch b/package/network/services/hostapd/patches/700-make-make-work.patch new file mode 100644 index 0000000000..643061ab5b --- /dev/null +++ b/package/network/services/hostapd/patches/700-make-make-work.patch @@ -0,0 +1,12 @@ +--- a/hostapd/Makefile ++++ b/hostapd/Makefile +@@ -196,7 +196,8 @@ endif + + ifdef CONFIG_NO_VLAN + CFLAGS += -DCONFIG_NO_VLAN +-else ++endif ++ifneq ($(findstring CONFIG_NO_VLAN,$(CFLAGS)), CONFIG_NO_VLAN) + OBJS += ../src/ap/vlan_init.o + OBJS += ../src/ap/vlan_ifconfig.o + OBJS += ../src/ap/vlan.o