This commit is to add netif flags for lwIP stack to handle ARP,
Broadcast and IGMP multicast packets, those flags should be configured
on netif
Change-Id: I1b97377aea317649200c507526eacae183fc3ce1
Signed-off-by: Jin-Seong Kim <jseong82.kim@samsung.com>
netif->name[1] = 'l';
snprintf(netif->d_ifname, IFNAMSIZ, "wl%d", netif->num);
+ netif->flags = NETIF_FLAG_ETHARP | NETIF_FLAG_ETHERNET | NETIF_FLAG_BROADCAST | NETIF_FLAG_IGMP;
return ERR_OK;
}
wlan_netif = netif_add(dev, &ipaddr, &netmask, &gw,
NULL, wlan_init, tcpip_input);
- wlan_netif->flags |= NETIF_FLAG_IGMP;
}