mt76: do not check the ccmp pn for ONLY_MONITOR frame
authorMeiChia Chiu <MeiChia.Chiu@mediatek.com>
Wed, 22 Jun 2022 08:30:34 +0000 (16:30 +0800)
committerFelix Fietkau <nbd@nbd.name>
Mon, 11 Jul 2022 11:40:02 +0000 (13:40 +0200)
commit1858e4fc89b2301e9a9e056a331cbd0902e516b5
tree47c4f2db2d4ae6c30be9af81d3bab6d8d189805b
parent8e3e7567b8c1216c743a69a32e468f7c86b8643f
mt76: do not check the ccmp pn for ONLY_MONITOR frame

if the received frame enables RX_FLAG_ONLY_MONITOR,
driver doesn't need to check the ccmp pn of this frame.

Reviewed-by: Ryder Lee <ryder.lee@mediatek.com>
Signed-off-by: MeiChia Chiu <MeiChia.Chiu@mediatek.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mac80211.c