mirror of
https://github.com/apache/nuttx.git
synced 2026-05-22 05:42:05 +08:00
Fix a couple of errors in names used in 6LoWPAN conditional compilation.
This commit is contained in:
@@ -172,7 +172,7 @@ static uint16_t send_interrupt(FAR struct net_driver_s *dev,
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_NET_MULTINIC
|
||||
#ifdef CONFIG_NETDEV_MULTINIC
|
||||
/* REVISIT: Verify that this is the correct IEEE802.15.4 network driver to
|
||||
* route the outgoing frame(s). Chances are that there is only one
|
||||
* IEEE802.15.4 network driver
|
||||
|
||||
@@ -810,7 +810,7 @@ ssize_t psock_6lowpan_tcp_send(FAR struct socket *psock, FAR const void *buf,
|
||||
return (ssize_t)-ENETUNREACH;
|
||||
}
|
||||
|
||||
#ifdef CONFIG_NETDEV_MULTILINK
|
||||
#ifdef CONFIG_NET_MULTILINK
|
||||
/* Some network devices support different link layer protocols.
|
||||
* Check if this device has the hooks to support 6LoWPAN.
|
||||
*/
|
||||
|
||||
@@ -216,7 +216,7 @@ ssize_t psock_6lowpan_udp_sendto(FAR struct socket *psock,
|
||||
return (ssize_t)-ENETUNREACH;
|
||||
}
|
||||
|
||||
#ifdef CONFIG_NETDEV_MULTILINK
|
||||
#ifdef CONFIG_NET_MULTILINK
|
||||
/* Some network devices support different link layer protocols.
|
||||
* Check if this device has the hooks to support 6LoWPAN.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user