mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-01 20:29:00 +00:00
netinit: Unregister notification at the end in netinit_monitor
This commit is contained in:
parent
7f203759ca
commit
d96bc5a4fb
1 changed files with 2 additions and 1 deletions
|
|
@ -760,7 +760,8 @@ static int netinit_monitor(void)
|
|||
/* TODO: Stop the PHY notifications and remove the signal handler. */
|
||||
|
||||
errout_with_notification:
|
||||
# warning Missing logic
|
||||
ifr.ifr_mii_notify_event.sigev_notify = SIGEV_NONE;
|
||||
ioctl(sd, SIOCMIINOTIFY, (unsigned long)&ifr);
|
||||
errout_with_sigaction:
|
||||
sigaction(CONFIG_NETINIT_SIGNO, &oact, NULL);
|
||||
errout_with_socket:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue