3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-12-23 06:02:37 +01:00

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

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; bool network_found = false;
const char *id; const char *id;