Revert "wifi: rtl8xxxu: enable MFP support"
authorMartin Kaistra <martin.kaistra@linutronix.de>
Thu, 18 Apr 2024 07:18:12 +0000 (09:18 +0200)
committerPing-Ke Shih <pkshih@realtek.com>
Mon, 22 Apr 2024 01:52:51 +0000 (09:52 +0800)
commit55e2843dd33a55f448579f1ab69aabe6f7077b04
treea82f41eb4d33e56ff27bb00e0f50de4a38c48fb1
parent8cb090b7006889b622e916c353ce07d93fbd7baa
Revert "wifi: rtl8xxxu: enable MFP support"

This reverts commit 77f5924fc41c243e907c80ce2576902d3a9cb336.

There is a more elegant solution to check for not decrypted frames,
which is to check the security flag in the RX descriptor.

Revert commit 77f5924fc41c ("wifi: rtl8xxxu: enable MFP support") in
favor of this to be able to send it to stable.

Signed-off-by: Martin Kaistra <martin.kaistra@linutronix.de>
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Link: https://msgid.link/20240418071813.1883174-2-martin.kaistra@linutronix.de
drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c