aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorHector Martin <[email protected]>2023-02-14 18:24:19 +0900
committerKalle Valo <[email protected]>2023-02-27 16:59:35 +0200
commit89b89e52153fda2733562776c7c9d9d3ebf8dd6d (patch)
tree8d635b200e17538338cc9e3a2312cc7351140fd1 /tools/perf/scripts/python
parenta96202acaea47fa8377088e0952bb63bd02a3bab (diff)
wifi: brcmfmac: cfg80211: Pass the PMK in binary instead of hex
Apparently the hex passphrase mechanism does not work on newer chips/firmware (e.g. BCM4387). It seems there was a simple way of passing it in binary all along, so use that and avoid the hexification. OpenBSD has been doing it like this from the beginning, so this should work on all chips. Also clear the structure before setting the PMK. This was leaking uninitialized stack contents to the device. Reviewed-by: Linus Walleij <[email protected]> Reviewed-by: Arend van Spriel <[email protected]> Signed-off-by: Hector Martin <[email protected]> Signed-off-by: Kalle Valo <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions