Skip to content

Commit

Permalink
netutils/wiznet: Fix bug where ioctl of SIOCDENYINETSOCK failed
Browse files Browse the repository at this point in the history
Fix ioctl error to EPREM. The handler is missing the
process to set the OK.
  • Loading branch information
SPRESENSE committed Feb 22, 2023
1 parent b03265b commit 9701a39
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions netutils/wiznet/wiznet_main.c
Expand Up @@ -1716,6 +1716,9 @@ static int ioctl_request(int fd, FAR struct wiznet_s *priv,

priv->usock_enable = TRUE;
}

ret = OK;
drvreq = false;
break;

default:
Expand Down

0 comments on commit 9701a39

Please sign in to comment.