Revert "wifi: mac80211: don't encrypt pre-auth (ETH_P_PREAUTH) frames"

This reverts commit dd40677999.

Never encrypting the frames broke a number of tests that do
additional pre-authentication while already connected, and
then the frames didn't go out correctly. Whatever this was
intended to fix, this wasn't the right fix.

Fixes: dd40677999 ("wifi: mac80211: don't encrypt pre-auth (ETH_P_PREAUTH) frames")
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
This commit is contained in:
Johannes Berg 2026-08-02 17:33:39 +02:00
commit 0ca7040f20