network IOCTLs: Correct a compilation error when wireless IOCTLs are enabled.

This commit is contained in:
Gregory Nutt 2017-04-26 12:31:13 -06:00
parent e835803166
commit 1cdc90914e

View File

@ -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 */