From 1cdc90914ee7543fb2c626e1f094d5114c7a32c6 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Wed, 26 Apr 2017 12:31:13 -0600 Subject: [PATCH] network IOCTLs: Correct a compilation error when wireless IOCTLs are enabled. --- net/netdev/netdev_ioctl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/netdev/netdev_ioctl.c b/net/netdev/netdev_ioctl.c index 87b21e355f..23f81c5276 100644 --- a/net/netdev/netdev_ioctl.c +++ b/net/netdev/netdev_ioctl.c @@ -351,7 +351,7 @@ static int netdev_wifr_ioctl(FAR struct socket *psock, int cmd, { /* Get the wireless device associated with the IOCTL command */ - dev = netdev_findbyname(req->ifrn_name); + dev = netdev_findbyname(req->ifr_name); if (dev != NULL) { /* Just forward the IOCTL to the wireless driver */