First git repo commit for the libreCMC project
[librecmc/librecmc.git] / package / network / services / hostapd / patches / 120-disable_bridge_packet_workaround.patch
1 --- a/src/l2_packet/l2_packet_linux.c
2 +++ b/src/l2_packet/l2_packet_linux.c
3 @@ -337,8 +337,7 @@ struct l2_packet_data * l2_packet_init_b
4  
5         l2 = l2_packet_init(br_ifname, own_addr, protocol, rx_callback,
6                             rx_callback_ctx, l2_hdr);
7 -       if (!l2)
8 -               return NULL;
9 +       return l2;
10  
11  #ifndef CONFIG_NO_LINUX_PACKET_SOCKET_WAR
12         /*