3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-10-04 02:18:49 +02:00

scan: initial support for the direct probe request

This enables the discovery of the hidden networks
This commit is contained in:
Tim Kourt 2018-07-10 15:46:56 -07:00 committed by Denis Kenzior
parent d1a8e191e9
commit f7a30106bf

View File

@ -292,7 +292,14 @@ static struct l_genl_msg *scan_build_cmd(struct scan_context *sc, bool passive,
if (!passive) {
l_genl_msg_enter_nested(msg, NL80211_ATTR_SCAN_SSIDS);
if (params->ssid)
l_genl_msg_append_attr(msg, NL80211_ATTR_SSID,
strlen(params->ssid),
params->ssid);
else
l_genl_msg_append_attr(msg, NL80211_ATTR_SSID, 0, NULL);
l_genl_msg_leave_nested(msg);
}