Skip to content

Commit b42ea68

Browse files
iucoenpelwell
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 8896dc2 commit b42ea68

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
@@ -2493,7 +2493,7 @@ brcmf_cfg80211_connect(struct wiphy *wiphy, struct net_device *ndev,
24932493
brcmf_dbg(INFO, "using PSK offload\n");
24942494
profile->use_fwsup = BRCMF_PROFILE_FWSUP_PSK;
24952495
}
2496-
} else {
2496+
} else if (profile->use_fwsup != BRCMF_PROFILE_FWSUP_1X) {
24972497
profile->use_fwsup = BRCMF_PROFILE_FWSUP_NONE;
24982498
}
24992499

0 commit comments

Comments
 (0)