From 9b0113018f59622912a90b6ab82b6a854936a6a8 Mon Sep 17 00:00:00 2001 From: Denis Kenzior Date: Wed, 14 Sep 2016 13:52:37 -0500 Subject: [PATCH] scan: Fix running active scans A wildcard SSID of zero length is needed --- src/scan.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/scan.c b/src/scan.c index 7bf39a43..e05c4aea 100644 --- a/src/scan.c +++ b/src/scan.c @@ -194,6 +194,7 @@ static bool __scan_active_start(struct l_genl_family *nl80211, 32 + extra_ie_size); l_genl_msg_append_attr(msg, NL80211_ATTR_IFINDEX, 4, &ifindex); l_genl_msg_enter_nested(msg, NL80211_ATTR_SCAN_SSIDS); + l_genl_msg_append_attr(msg, NL80211_ATTR_SSID, 0, NULL); l_genl_msg_leave_nested(msg); if (extra_ie && extra_ie_size)