Network: Fix compilation problem when mutliple networks enabled

This commit is contained in:
Gregory Nutt 2014-11-17 10:22:30 -06:00
parent 697bf8c213
commit 33627632a5

View File

@ -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;