On 2021-11-10 03:54, Xing Song wrote:
Drop the received frame if decryption failed and mac80211 can not handle it. Signed-off-by: Xing Song <xing.song@xxxxxxxxxxxx>
What happens if decryption failed? Do we receive the encrypted packets?If so, I think we should return -EINVAL only if we don't have any monitor mode interfaces. If monitor mode is active, we should probably just clear RX_FLAG_DECRYPTED instead.
- Felix