projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
hostapd: update to version 2016-01-15
[openwrt.git]
/
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
index
6337d8d
..
fdd5da9
100644
(file)
--- a/
package/network/services/hostapd/patches/140-disable_bridge_packet_workaround.patch
+++ b/
package/network/services/hostapd/patches/140-disable_bridge_packet_workaround.patch
@@
-1,6
+1,6
@@
--- a/src/l2_packet/l2_packet_linux.c
+++ b/src/l2_packet/l2_packet_linux.c
--- a/src/l2_packet/l2_packet_linux.c
+++ b/src/l2_packet/l2_packet_linux.c
-@@ -3
07,8 +30
7,7 @@ struct l2_packet_data * l2_packet_init_b
+@@ -3
37,8 +33
7,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);
l2 = l2_packet_init(br_ifname, own_addr, protocol, rx_callback,
rx_callback_ctx, l2_hdr);
@@
-8,5
+8,5
@@
- return NULL;
+ return l2;
- return NULL;
+ return l2;
+ #ifndef CONFIG_NO_LINUX_PACKET_SOCKET_WAR
/*
/*
- * The Linux packet socket behavior has changed over the years and there