questd: set initial sta exist state to false

This commit is contained in:
Sukru Senli 2015-05-31 16:53:29 +02:00 committed by Martin Schröder
parent 395ca59324
commit f682d15ff0

View file

@ -424,6 +424,7 @@ wireless_assoclist()
while(fgets(line, sizeof(line), assoclist) != NULL)
{
remove_newline(line);
stas[j].exists = false;
if (sscanf(line, "assoclist %s", stas[j].macaddr) == 1) {
stas[j].exists = true;
strcpy(stas[j].wdev, wireless[i].vif);