hostapd: disable the bridge packet receive workaround, it is unnecessary on openwrt and could potentially harm performance
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 45060
This commit is contained in:
parent
7edbd6b4d7
commit
8905eb39b6
1 changed files with 12 additions and 0 deletions
|
@ -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
|
Loading…
Reference in a new issue