Skip to content

Commit 1ae8a77

Browse files
iucoenpopcornmix
authored andcommitted
brcmfmac: Fix 802.1x
Commit 7d239fb broke 802.1X authentication by setting profile->use_fwsup = NONE whenever PSK is not used. However 802.1X does not use PSK and requires profile->use_fwsup set to 1X, or brcmf_cfg80211_set_pmk() fails. Fix this by checking that profile->use_fwsup is not already set to 1X and avoid setting it to NONE in that case. Fixes: 7d239fb (brcmfmac: Fix interoperating DPP and other encryption network access) Fixes: #5964
1 parent 1131db7 commit 1ae8a77

File tree

1 file changed

+1
-1
lines changed
  • drivers/net/wireless/broadcom/brcm80211/brcmfmac

1 file changed

+1
-1
lines changed

drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2481,7 +2481,7 @@ brcmf_cfg80211_connect(struct wiphy *wiphy, struct net_device *ndev,
24812481
brcmf_dbg(INFO, "using PSK offload\n");
24822482
profile->use_fwsup = BRCMF_PROFILE_FWSUP_PSK;
24832483
}
2484-
} else {
2484+
} else if (profile->use_fwsup != BRCMF_PROFILE_FWSUP_1X) {
24852485
profile->use_fwsup = BRCMF_PROFILE_FWSUP_NONE;
24862486
}
24872487

0 commit comments

Comments
 (0)