projects
/
oweals
/
openwrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
167028b
)
hostapd: use config option CONFIG_NO_LINUX_PACKET_SOCKET_WAR
author
Hauke Mehrtens
<hauke@hauke-m.de>
Fri, 3 May 2019 23:58:53 +0000
(
01:58
+0200)
committer
Hauke Mehrtens
<hauke@hauke-m.de>
Sun, 22 Sep 2019 15:39:51 +0000
(17:39 +0200)
Instead of patching the workaround away, just use the config option.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
package/network/services/hostapd/files/wpa_supplicant-basic.config
patch
|
blob
|
history
package/network/services/hostapd/files/wpa_supplicant-full.config
patch
|
blob
|
history
package/network/services/hostapd/files/wpa_supplicant-mini.config
patch
|
blob
|
history
package/network/services/hostapd/files/wpa_supplicant-p2p.config
patch
|
blob
|
history
package/network/services/hostapd/patches/120-disable_bridge_packet_workaround.patch
[deleted file]
patch
|
blob
|
history
diff --git
a/package/network/services/hostapd/files/wpa_supplicant-basic.config
b/package/network/services/hostapd/files/wpa_supplicant-basic.config
index 14f6e80896d713380bd06f2af79566796510540c..f2fd20dbd7721427b1a3e5784d4060afdd74039b 100644
(file)
--- a/
package/network/services/hostapd/files/wpa_supplicant-basic.config
+++ b/
package/network/services/hostapd/files/wpa_supplicant-basic.config
@@
-308,7
+308,7
@@
CONFIG_BACKEND=file
# in a bridge for EAPOL frames. This should be uncommented only if the kernel
# is known to not have the regression issue in packet socket behavior with
# bridge interfaces (commit 'bridge: respect RFC2863 operational state')').
# in a bridge for EAPOL frames. This should be uncommented only if the kernel
# is known to not have the regression issue in packet socket behavior with
# bridge interfaces (commit 'bridge: respect RFC2863 operational state')').
-
#
CONFIG_NO_LINUX_PACKET_SOCKET_WAR=y
+CONFIG_NO_LINUX_PACKET_SOCKET_WAR=y
# IEEE 802.11w (management frame protection), also known as PMF
# Driver support is also needed for IEEE 802.11w.
# IEEE 802.11w (management frame protection), also known as PMF
# Driver support is also needed for IEEE 802.11w.
diff --git
a/package/network/services/hostapd/files/wpa_supplicant-full.config
b/package/network/services/hostapd/files/wpa_supplicant-full.config
index 5f48d59eebaadca612bcad009128c7f231a4b56e..2e9328234a801df84703bcc14e2ee5fcc6b211dc 100644
(file)
--- a/
package/network/services/hostapd/files/wpa_supplicant-full.config
+++ b/
package/network/services/hostapd/files/wpa_supplicant-full.config
@@
-308,7
+308,7
@@
CONFIG_BACKEND=file
# in a bridge for EAPOL frames. This should be uncommented only if the kernel
# is known to not have the regression issue in packet socket behavior with
# bridge interfaces (commit 'bridge: respect RFC2863 operational state')').
# in a bridge for EAPOL frames. This should be uncommented only if the kernel
# is known to not have the regression issue in packet socket behavior with
# bridge interfaces (commit 'bridge: respect RFC2863 operational state')').
-
#
CONFIG_NO_LINUX_PACKET_SOCKET_WAR=y
+CONFIG_NO_LINUX_PACKET_SOCKET_WAR=y
# IEEE 802.11w (management frame protection), also known as PMF
# Driver support is also needed for IEEE 802.11w.
# IEEE 802.11w (management frame protection), also known as PMF
# Driver support is also needed for IEEE 802.11w.
diff --git
a/package/network/services/hostapd/files/wpa_supplicant-mini.config
b/package/network/services/hostapd/files/wpa_supplicant-mini.config
index 9b1f03433f9fcd484afd1b64427a630f722c2275..a71ac9dfe31fafdd39a33853247b9ed3acac0da0 100644
(file)
--- a/
package/network/services/hostapd/files/wpa_supplicant-mini.config
+++ b/
package/network/services/hostapd/files/wpa_supplicant-mini.config
@@
-308,7
+308,7
@@
CONFIG_BACKEND=file
# in a bridge for EAPOL frames. This should be uncommented only if the kernel
# is known to not have the regression issue in packet socket behavior with
# bridge interfaces (commit 'bridge: respect RFC2863 operational state')').
# in a bridge for EAPOL frames. This should be uncommented only if the kernel
# is known to not have the regression issue in packet socket behavior with
# bridge interfaces (commit 'bridge: respect RFC2863 operational state')').
-
#
CONFIG_NO_LINUX_PACKET_SOCKET_WAR=y
+CONFIG_NO_LINUX_PACKET_SOCKET_WAR=y
# IEEE 802.11w (management frame protection), also known as PMF
# Driver support is also needed for IEEE 802.11w.
# IEEE 802.11w (management frame protection), also known as PMF
# Driver support is also needed for IEEE 802.11w.
diff --git
a/package/network/services/hostapd/files/wpa_supplicant-p2p.config
b/package/network/services/hostapd/files/wpa_supplicant-p2p.config
index 03b9a6b65405633f38ddb74890ba68f85cd01a13..0edaf3d083b3cbb41fd4b3f237ddeebadb11eb41 100644
(file)
--- a/
package/network/services/hostapd/files/wpa_supplicant-p2p.config
+++ b/
package/network/services/hostapd/files/wpa_supplicant-p2p.config
@@
-308,7
+308,7
@@
CONFIG_BACKEND=file
# in a bridge for EAPOL frames. This should be uncommented only if the kernel
# is known to not have the regression issue in packet socket behavior with
# bridge interfaces (commit 'bridge: respect RFC2863 operational state')').
# in a bridge for EAPOL frames. This should be uncommented only if the kernel
# is known to not have the regression issue in packet socket behavior with
# bridge interfaces (commit 'bridge: respect RFC2863 operational state')').
-
#
CONFIG_NO_LINUX_PACKET_SOCKET_WAR=y
+CONFIG_NO_LINUX_PACKET_SOCKET_WAR=y
# IEEE 802.11w (management frame protection), also known as PMF
# Driver support is also needed for IEEE 802.11w.
# IEEE 802.11w (management frame protection), also known as PMF
# Driver support is also needed for IEEE 802.11w.
diff --git
a/package/network/services/hostapd/patches/120-disable_bridge_packet_workaround.patch
b/package/network/services/hostapd/patches/120-disable_bridge_packet_workaround.patch
deleted file mode 100644
(file)
index
090aaaa
..0000000
--- a/
package/network/services/hostapd/patches/120-disable_bridge_packet_workaround.patch
+++ /dev/null
@@
-1,12
+0,0 @@
---- a/src/l2_packet/l2_packet_linux.c
-+++ b/src/l2_packet/l2_packet_linux.c
-@@ -360,8 +360,7 @@ struct l2_packet_data * l2_packet_init_b
-
- l2 = l2_packet_init(br_ifname, own_addr, protocol, rx_callback,
- rx_callback_ctx, l2_hdr);
-- if (!l2)
-- return NULL;
-+ return l2;
-
- #ifndef CONFIG_NO_LINUX_PACKET_SOCKET_WAR
- /*