Skip to content

Commit c3b127a

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 bd5d28d commit c3b127a

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
@@ -2485,7 +2485,7 @@ brcmf_cfg80211_connect(struct wiphy *wiphy, struct net_device *ndev,
24852485
brcmf_dbg(INFO, "using PSK offload\n");
24862486
profile->use_fwsup = BRCMF_PROFILE_FWSUP_PSK;
24872487
}
2488-
} else {
2488+
} else if (profile->use_fwsup != BRCMF_PROFILE_FWSUP_1X) {
24892489
profile->use_fwsup = BRCMF_PROFILE_FWSUP_NONE;
24902490
}
24912491

0 commit comments

Comments
 (0)