mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2025-01-08 15:52:32 +01:00
scan: initial support for the direct probe request
This enables the discovery of the hidden networks
This commit is contained in:
parent
d1a8e191e9
commit
f7a30106bf
@ -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);
|
||||
l_genl_msg_append_attr(msg, NL80211_ATTR_SSID, 0, NULL);
|
||||
|
||||
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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user