diff --git a/net/devif/devif_poll.c b/net/devif/devif_poll.c index 5a3f5556359..d2febe0da4a 100644 --- a/net/devif/devif_poll.c +++ b/net/devif/devif_poll.c @@ -272,7 +272,7 @@ static int devif_poll_ieee802154_connections(FAR struct net_driver_s *dev, return bstop; } -#endif /* CONFIG_NET_PKT */ +#endif /* CONFIG_NET_IEEE802154 */ /**************************************************************************** * Name: devif_poll_icmp diff --git a/net/netdev/netdev_ioctl.c b/net/netdev/netdev_ioctl.c index 483f7493a35..027f7271210 100644 --- a/net/netdev/netdev_ioctl.c +++ b/net/netdev/netdev_ioctl.c @@ -356,7 +356,7 @@ static void ioctl_set_ipv4addr(FAR in_addr_t *outaddr, * * Input Parameters: * outaddr - Pointer to the source IP address in the device structure. - * inaddr - Pointer to the user-provided memory to containing the new IP + * inaddr - Pointer to the user-provided memory to containing the new IP * address. * ****************************************************************************/ @@ -377,10 +377,10 @@ static void ioctl_set_ipv6addr(FAR net_ipv6addr_t outaddr, * Perform IEEE802.15.4 network device specific operations. * * Input Parameters: - * psock Socket structure - * dev Ethernet driver device structure - * cmd The ioctl command - * req The argument of the ioctl cmd + * psock - Socket structure + * dev - Ethernet driver device structure + * cmd - The ioctl command + * req - The argument of the ioctl cmd * * Returned Value: * >=0 on success (positive non-zero values are cmd-specific) @@ -439,10 +439,10 @@ static int netdev_iee802154_ioctl(FAR struct socket *psock, int cmd, * Perform non-IEEE802.15.4 packet radio network device specific operations. * * Input Parameters: - * psock Socket structure - * dev Ethernet driver device structure - * cmd The ioctl command - * req The argument of the ioctl cmd + * psock - Socket structure + * dev - Ethernet driver device structure + * cmd - The ioctl command + * req - The argument of the ioctl cmd * * Returned Value: * >=0 on success (positive non-zero values are cmd-specific)