summaryrefslogtreecommitdiffstats
path: root/package/hostapd/patches/540-optional_rfkill.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/hostapd/patches/540-optional_rfkill.patch')
-rw-r--r--package/hostapd/patches/540-optional_rfkill.patch10
1 files changed, 9 insertions, 1 deletions
diff --git a/package/hostapd/patches/540-optional_rfkill.patch b/package/hostapd/patches/540-optional_rfkill.patch
index 6e86ef0cf..c70bcf4a5 100644
--- a/package/hostapd/patches/540-optional_rfkill.patch
+++ b/package/hostapd/patches/540-optional_rfkill.patch
@@ -241,7 +241,15 @@
endif
ifdef CONFIG_DRIVER_HERMES
-@@ -183,6 +181,7 @@ endif
+@@ -170,7 +168,6 @@ endif
+ ifdef CONFIG_WIRELESS_EXTENSION
+ DRV_WPA_CFLAGS += -DCONFIG_WIRELESS_EXTENSION
+ DRV_WPA_OBJS += ../src/drivers/driver_wext.o
+-NEED_RFKILL=y
+ endif
+
+ ifdef NEED_NETLINK
+@@ -183,6 +180,7 @@ endif
ifdef NEED_RFKILL
DRV_OBJS += ../src/drivers/rfkill.o