Merge remote-tracking branch 'origin/master' into photon

This commit is contained in:
Gregory Nutt 2017-04-26 12:33:09 -06:00
commit 381842be5c

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