From 2bb6ec41d139a13bbd45bc4bc7e54a26c57ab834 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Fri, 30 Mar 2018 12:27:04 -0600 Subject: [PATCH] net/: Trivial fix for a typo. --- net/devif/devif_poll.c | 2 +- net/netdev/netdev_ioctl.c | 18 +++++++++--------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/net/devif/devif_poll.c b/net/devif/devif_poll.c index 5a3f555635..d2febe0da4 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 483f7493a3..027f727121 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)