summaryrefslogtreecommitdiffstats
path: root/package/network/services/hostapd/patches/120-disable_bridge_packet_workaround.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/network/services/hostapd/patches/120-disable_bridge_packet_workaround.patch')
-rw-r--r--package/network/services/hostapd/patches/120-disable_bridge_packet_workaround.patch12
1 files changed, 12 insertions, 0 deletions
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
new file mode 100644
index 0000000000..fdd5da9bf5
--- /dev/null
+++ b/package/network/services/hostapd/patches/120-disable_bridge_packet_workaround.patch
@@ -0,0 +1,12 @@
+--- a/src/l2_packet/l2_packet_linux.c
++++ b/src/l2_packet/l2_packet_linux.c
+@@ -337,8 +337,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
+ /*