summaryrefslogtreecommitdiff
path: root/package/hostapd/Makefile
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2010-01-23 15:12:57 +0000
committerFelix Fietkau <nbd@openwrt.org>2010-01-23 15:12:57 +0000
commit8499c45a7355570239f1d54b05803f42a8989644 (patch)
tree802cde3aa3646a7e9f9df8edbbfe92eb135b9aa5 /package/hostapd/Makefile
parent8e07eba864fc7b82f530cdb46f84ee68977df5e7 (diff)
downloadmtk-20170518-8499c45a7355570239f1d54b05803f42a8989644.zip
mtk-20170518-8499c45a7355570239f1d54b05803f42a8989644.tar.gz
mtk-20170518-8499c45a7355570239f1d54b05803f42a8989644.tar.bz2
hostapd: fix compile error in the roboswitch driver
SVN-Revision: 19290
Diffstat (limited to 'package/hostapd/Makefile')
-rw-r--r--package/hostapd/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/package/hostapd/Makefile b/package/hostapd/Makefile
index 95b3414..9339211 100644
--- a/package/hostapd/Makefile
+++ b/package/hostapd/Makefile
@@ -54,7 +54,6 @@ DRIVER_MAKEOPTS= \
CONFIG_DRIVER_NL80211=$(CONFIG_PACKAGE_kmod-mac80211) \
CONFIG_DRIVER_MADWIFI=$(CONFIG_PACKAGE_kmod-madwifi) \
CONFIG_DRIVER_HOSTAP=$(CONFIG_PACKAGE_kmod-hostap) \
- CONFIG_DRIVER_ROBOSWITCH=$(CONFIG_PACKAGE_kmod-switch) \
CONFIG_IEEE80211N=$(CONFIG_PACKAGE_kmod-ath9k)
ifeq ($(LOCAL_TYPE),supplicant)
@@ -66,6 +65,8 @@ endif
ifneq ($(LOCAL_TYPE),hostapd)
ifdef CONFIG_WPA_SUPPLICANT_NO_TIMESTAMP_CHECK
TARGET_CFLAGS += -DNO_TIMESTAMP_CHECK
+ DRIVER_MAKEOPTS += \
+ CONFIG_DRIVER_ROBOSWITCH=$(CONFIG_PACKAGE_kmod-switch)
endif
endif