diff mbox series

[2/2] brcmfmac: add 4-way handshake offload detection for FT-802.1X

Message ID 1534329160-131774-3-git-send-email-chi-hsien.lin@cypress.com (mailing list archive)
State Accepted
Commit a858376cdbb3edfef7dc6ca5ec1c70ff94bdbef2
Delegated to: Kalle Valo
Headers show
Series brcmfmac: add FT support | expand

Commit Message

Chi-Hsien Lin Aug. 15, 2018, 10:32 a.m. UTC
From: Chung-Hsien Hsu <stanley.hsu@cypress.com>

Add 4-way handshake offload detection for FT with EAP authentication.

Signed-off-by: Chung-Hsien Hsu <stanley.hsu@cypress.com>
Signed-off-by: Chi-Hsien Lin <chi-hsien.lin@cypress.com>
---
 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c | 2 ++
 1 file changed, 2 insertions(+)
diff mbox series

Patch

diff --git a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c
index f56d76de0812..8bc031eed4fd 100644
--- a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c
+++ b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c
@@ -1651,6 +1651,8 @@  brcmf_set_key_mgmt(struct net_device *ndev, struct cfg80211_connect_params *sme)
 			break;
 		case WLAN_AKM_SUITE_FT_8021X:
 			val = WPA2_AUTH_UNSPECIFIED | WPA2_AUTH_FT;
+			if (sme->want_1x)
+				profile->use_fwsup = BRCMF_PROFILE_FWSUP_1X;
 			break;
 		case WLAN_AKM_SUITE_FT_PSK:
 			val = WPA2_AUTH_PSK | WPA2_AUTH_FT;