summaryrefslogtreecommitdiff
path: root/nuttx/net/netdev_ioctl.c
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-03-24 09:34:17 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-03-24 09:34:17 -0600
commit9c43f66fc25286196f9ce520489b80c891e9199a (patch)
tree6ac1e3f065bc629bdaf09febdec5d6efe687ede1 /nuttx/net/netdev_ioctl.c
parent9c5218976bd64888b9aeaabd5ca2e91af9b93bd0 (diff)
downloadpx4-nuttx-9c43f66fc25286196f9ce520489b80c891e9199a.tar.gz
px4-nuttx-9c43f66fc25286196f9ce520489b80c891e9199a.tar.bz2
px4-nuttx-9c43f66fc25286196f9ce520489b80c891e9199a.zip
net/: IGMP-related bugfixes from Manuel Stühn
Diffstat (limited to 'nuttx/net/netdev_ioctl.c')
-rw-r--r--nuttx/net/netdev_ioctl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/net/netdev_ioctl.c b/nuttx/net/netdev_ioctl.c
index a8394edb2..c37c04611 100644
--- a/nuttx/net/netdev_ioctl.c
+++ b/nuttx/net/netdev_ioctl.c
@@ -472,7 +472,7 @@ static FAR struct uip_driver_s *netdev_imsfdev(FAR struct ip_msfilter *imsf)
* psock Socket structure
* dev Ethernet driver device structure
* cmd The ioctl command
- * imsf The argument of the ioctl cmd
+ * imsf The argument of the ioctl cmd
*
* Return:
* >=0 on success (positive non-zero values are cmd-specific)
@@ -495,7 +495,7 @@ static int netdev_imsfioctl(FAR struct socket *psock, int cmd,
{
case SIOCSIPMSFILTER: /* Set source filter content */
{
- dev = netdev_imsfdev(req);
+ dev = netdev_imsfdev(imsf);
if (dev)
{
if (imsf->imsf_fmode == MCAST_INCLUDE)