network IOCTLs: Correct a compilation error when wireless IOCTLs are enabled.
This commit is contained in:
parent
e835803166
commit
1cdc90914e
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user