wiphy: Ignore BSSes with no SSID

This commit is contained in:
Denis Kenzior 2015-01-28 15:30:42 -06:00
parent b342f819f9
commit 9f042ff1b8
1 changed files with 4 additions and 1 deletions

View File

@ -717,7 +717,10 @@ static void parse_bss(struct netdev *netdev, struct l_genl_attr *attr)
}
}
if (ssid) {
if (!ssid) {
l_warn("Received BSS but SSID IE returned NULL -- ignoring");
goto fail;
} else {
bool network_found = false;
const char *id;