projects
/
openwrt
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
hostapd: update to version 2016-12-15
[openwrt/openwrt.git]
/
package
/
network
/
services
/
hostapd
/
patches
/
320-optional_rfkill.patch
diff --git
a/package/network/services/hostapd/patches/320-optional_rfkill.patch
b/package/network/services/hostapd/patches/320-optional_rfkill.patch
index 75b4b07f82115e226fd2f29f2ed19682ed1346f3..bdc1764578483d8effbcd7b8bca43fa4fb4db346 100644
(file)
--- a/
package/network/services/hostapd/patches/320-optional_rfkill.patch
+++ b/
package/network/services/hostapd/patches/320-optional_rfkill.patch
@@
-1,14
+1,14
@@
--- a/src/drivers/drivers.mak
+++ b/src/drivers/drivers.mak
--- a/src/drivers/drivers.mak
+++ b/src/drivers/drivers.mak
-@@ -
34,7 +34
,6 @@ NEED_SME=y
+@@ -
49,7 +49
,6 @@ NEED_SME=y
NEED_AP_MLME=y
NEED_NETLINK=y
NEED_LINUX_IOCTL=y
-NEED_RFKILL=y
NEED_AP_MLME=y
NEED_NETLINK=y
NEED_LINUX_IOCTL=y
-NEED_RFKILL=y
+ NEED_RADIOTAP=y
ifdef CONFIG_LIBNL32
ifdef CONFIG_LIBNL32
- DRV_LIBS += -lnl-3
-@@ -116,7 +115,6 @@ DRV_WPA_CFLAGS += -DCONFIG_DRIVER_WEXT
+@@ -136,7 +135,6 @@ DRV_WPA_CFLAGS += -DCONFIG_DRIVER_WEXT
CONFIG_WIRELESS_EXTENSION=y
NEED_NETLINK=y
NEED_LINUX_IOCTL=y
CONFIG_WIRELESS_EXTENSION=y
NEED_NETLINK=y
NEED_LINUX_IOCTL=y
@@
-16,7
+16,7
@@
endif
ifdef CONFIG_DRIVER_NDIS
endif
ifdef CONFIG_DRIVER_NDIS
-@@ -1
42,7 +14
0,6 @@ endif
+@@ -1
62,7 +16
0,6 @@ endif
ifdef CONFIG_WIRELESS_EXTENSION
DRV_WPA_CFLAGS += -DCONFIG_WIRELESS_EXTENSION
DRV_WPA_OBJS += ../src/drivers/driver_wext.o
ifdef CONFIG_WIRELESS_EXTENSION
DRV_WPA_CFLAGS += -DCONFIG_WIRELESS_EXTENSION
DRV_WPA_OBJS += ../src/drivers/driver_wext.o
@@
-24,14
+24,14
@@
endif
ifdef NEED_NETLINK
endif
ifdef NEED_NETLINK
-@@ -1
55,6 +15
2,7 @@ endif
+@@ -1
75,6 +17
2,7 @@ endif
ifdef NEED_RFKILL
DRV_OBJS += ../src/drivers/rfkill.o
+DRV_WPA_CFLAGS += -DCONFIG_RFKILL
endif
ifdef NEED_RFKILL
DRV_OBJS += ../src/drivers/rfkill.o
+DRV_WPA_CFLAGS += -DCONFIG_RFKILL
endif
- ifdef
CONFIG_VLAN_NETLINK
+ ifdef
NEED_RADIOTAP
--- a/src/drivers/rfkill.h
+++ b/src/drivers/rfkill.h
@@ -18,8 +18,24 @@ struct rfkill_config {
--- a/src/drivers/rfkill.h
+++ b/src/drivers/rfkill.h
@@ -18,8 +18,24 @@ struct rfkill_config {