Commit d7eda3e7 authored by Hector Martin's avatar Hector Martin Committed by Treehugger Robot
Browse files

FROMLIST: wifi: cfg80211: Partial revert "wifi: cfg80211: Fix use after free for wext"

This reverts part of commit 015b8cc5 ("wifi: cfg80211: Fix use after
free for wext")

This commit broke WPA offload by unconditionally clearing the crypto
modes for non-WEP connections. Drop that part of the patch.

Fixes: 015b8cc5 ("wifi: cfg80211: Fix use after free for wext")
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/linux-wireless/ZAx0TWRBlGfv7pNl@kroah.com/T/#m11e6e0915ab8fa19ce8bc9695ab288c0fe018edf


Change-Id: I05ed0df12b6cc89a78ca9fad49385e98ed39fa3f
Signed-off-by: default avatarHector Martin <marcan@marcan.st>
Bug: 277028065
Link: https://lore.kernel.org/all/20230311141914.24444-1-marcan@marcan.st/


Signed-off-by: default avatarAndré Draszik <draszik@google.com>
parent 22411185
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment