hostapd: use config option CONFIG_NO_LINUX_PACKET_SOCKET_WAR
[openwrt/openwrt.git] / package / network / services / hostapd / patches / 120-disable_bridge_packet_workaround.patch
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
+++ /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
-       /*