Content-Type: multipart/mixed; boundary="===============3573925975520139748==" MIME-Version: 1.0 From: James Prestwood Subject: [PATCH v2 2/4] scan: set force_default_sae_group if OUI matches Date: Mon, 23 Aug 2021 16:41:47 -0700 Message-ID: <20210823234149.610336-2-prestwoj@gmail.com> In-Reply-To: <20210823234149.610336-1-prestwoj@gmail.com> List-Id: To: iwd@lists.01.org --===============3573925975520139748== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable --- src/scan.c | 4 +++- src/scan.h | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/scan.c b/src/scan.c index 3faa6eb4..16bd2a87 100644 --- a/src/scan.c +++ b/src/scan.c @@ -924,7 +924,9 @@ static bool scan_parse_vendor_specific(struct scan_bss = *bss, const void *data, return false; = bss->hs20_capable =3D true; - } else + } else if (is_ie_default_sae_group_oui(data, len)) + bss->force_default_sae_group =3D true; + else return false; = return true; diff --git a/src/scan.h b/src/scan.h index 81c84bae..8a57c2b3 100644 --- a/src/scan.h +++ b/src/scan.h @@ -83,6 +83,7 @@ struct scan_bss { bool vht_capable : 1; bool anqp_capable : 1; bool hs20_capable : 1; + bool force_default_sae_group : 1; }; = struct scan_parameters { -- = 2.31.1 --===============3573925975520139748==--