mirror of
https://github.com/apache/nuttx.git
synced 2026-09-21 05:14:27 +08:00
Network: Fix compilation problem when mutliple networks enabled
This commit is contained in:
@@ -48,6 +48,7 @@
|
||||
# define CONFIG_DEBUG_NET 1
|
||||
#endif
|
||||
|
||||
#include <stdio.h>
|
||||
#include <unistd.h>
|
||||
#include <string.h>
|
||||
#include <semaphore.h>
|
||||
@@ -198,7 +199,7 @@ static FAR struct phy_notify_s *phy_find_unassigned(void)
|
||||
client->signo = 0;
|
||||
client->index = i;
|
||||
#ifdef CONFIG_NETDEV_MULTINIC
|
||||
client->intf = '\0';
|
||||
client->intf[0] = '\0';
|
||||
#endif
|
||||
client->pid = -1;
|
||||
client->arg = NULL;
|
||||
|
||||
Reference in New Issue
Block a user