From 716ca530e1c4515d8683c9d5be3d56b301758b66 Mon Sep 17 00:00:00 2001 From: James <> Date: Wed, 4 Nov 2015 11:49:21 +0000 Subject: trunk-47381 --- .../patches/140-disable_bridge_packet_workaround.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 package/network/services/hostapd/patches/140-disable_bridge_packet_workaround.patch (limited to 'package/network/services/hostapd/patches/140-disable_bridge_packet_workaround.patch') diff --git a/package/network/services/hostapd/patches/140-disable_bridge_packet_workaround.patch b/package/network/services/hostapd/patches/140-disable_bridge_packet_workaround.patch new file mode 100644 index 0000000..6337d8d --- /dev/null +++ b/package/network/services/hostapd/patches/140-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 +@@ -307,8 +307,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; + + /* + * The Linux packet socket behavior has changed over the years and there -- cgit v1.2.3