6loWPAN: Tie 6loWPAN send into common socket send logic.

This commit is contained in:
Gregory Nutt
2017-03-28 14:08:54 -06:00
parent 75a8ad636c
commit 64933246c3
10 changed files with 401 additions and 92 deletions
+1 -1
View File
@@ -228,7 +228,7 @@ int netdev_register(FAR struct net_driver_s *dev, enum net_lltype_e lltype)
#endif
#ifdef CONFIG_NET_6LOWPAN
case NET_LL_6LOWPAN: /* IEEE 802.15.4 */
case NET_LL_IEEE802154: /* IEEE 802.15.4 MAC */
dev->d_llhdrlen = 0; /* REVISIT */
dev->d_mtu = SIXLOWPAN_MAC_MAXFRAME;
#ifdef CONFIG_NET_TCP