]> www.infradead.org Git - users/jedix/linux-maple.git/commit
wifi: mt76: mt7996: remove unnecessary key->cipher check for BIP frames
authorMichael-CY Lee <michael-cy.lee@mediatek.com>
Tue, 11 Mar 2025 10:36:40 +0000 (11:36 +0100)
committerFelix Fietkau <nbd@nbd.name>
Wed, 19 Mar 2025 13:47:04 +0000 (14:47 +0100)
commit0337355cc217215ba7c4e5a858c8f73c1a78bab4
tree79085d6094b2b6bff8def665cc2923d3da76ab41
parent8d38abdf6c182225c5c0a81451fa51b7b36a635d
wifi: mt76: mt7996: remove unnecessary key->cipher check for BIP frames

The cipher type check is redundant, and there is no need to dereference the
key struct here.

Signed-off-by: Michael-CY Lee <michael-cy.lee@mediatek.com>
Link: https://patch.msgid.link/20250311103646.43346-3-nbd@nbd.name
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt7996/mac.c