diff options
author | Hauke Mehrtens <hauke@hauke-m.de> | 2019-05-04 01:58:53 +0200 |
---|---|---|
committer | Petr Štetiar <ynezz@true.cz> | 2019-11-14 20:59:58 +0100 |
commit | 90a0daf4fe2aca55169c5ff7862b867516837c30 (patch) | |
tree | ed2643bb2671804bf72b1ea874ea07fdb5129ffa /package/network/services/hostapd/patches | |
parent | 5e8d1b52dafb04428898fe3ba9c2920a0fb6f653 (diff) | |
download | upstream-90a0daf4fe2aca55169c5ff7862b867516837c30.tar.gz upstream-90a0daf4fe2aca55169c5ff7862b867516837c30.tar.bz2 upstream-90a0daf4fe2aca55169c5ff7862b867516837c30.zip |
hostapd: use config option CONFIG_NO_LINUX_PACKET_SOCKET_WAR
Instead of patching the workaround away, just use the config option.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
(cherry picked from commit 9b4a27455c17c00698ce7ce24e0bcad419c6319e)
Diffstat (limited to 'package/network/services/hostapd/patches')
-rw-r--r-- | package/network/services/hostapd/patches/120-disable_bridge_packet_workaround.patch | 12 |
1 files changed, 0 insertions, 12 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 deleted file mode 100644 index 090aaaa0db..0000000000 --- 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 - /* |