iwd.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
From: James Prestwood <prestwoj@gmail.com>
To: iwd@lists.01.org
Subject: [PATCH v3 4/5] netdev: force SAE group 19 if BSS requires
Date: Wed, 25 Aug 2021 10:12:57 -0700	[thread overview]
Message-ID: <20210825171258.764596-4-prestwoj@gmail.com> (raw)
In-Reply-To: <20210825171258.764596-1-prestwoj@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 474 bytes --]

---
 src/netdev.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/netdev.c b/src/netdev.c
index 513e22d9..54856f6a 100644
--- a/src/netdev.c
+++ b/src/netdev.c
@@ -3485,6 +3485,9 @@ static void netdev_connect_common(struct netdev *netdev,
 			}
 		}
 
+		if (bss->force_default_sae_group)
+			sae_sm_set_force_group_19(netdev->ap);
+
 		break;
 	case IE_RSN_AKM_SUITE_OWE:
 		netdev->ap = owe_sm_new(hs, netdev_owe_tx_authenticate,
-- 
2.31.1

  parent reply	other threads:[~2021-08-25 17:12 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-25 17:12 [PATCH v3 1/5] ie: add is_ie_default_sae_group_oui James Prestwood
2021-08-25 17:12 ` [PATCH v3 2/5] scan: set force_default_sae_group if OUI matches James Prestwood
2021-08-25 17:12 ` [PATCH v3 3/5] sae: add sae_sm_set_force_group_19 James Prestwood
2021-08-25 17:12 ` James Prestwood [this message]
2021-08-25 17:12 ` [PATCH v3 5/5] auto-t: add force SAE group 19 autotest James Prestwood
2021-08-25 18:06 ` [PATCH v3 1/5] ie: add is_ie_default_sae_group_oui Denis Kenzior

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210825171258.764596-4-prestwoj@gmail.com \
    --to=prestwoj@gmail.com \
    --cc=iwd@lists.01.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).