]> git.ipfire.org Git - thirdparty/linux.git/commit
wifi: mt76: mt7996: fix key add/remove imbalance
authorFelix Fietkau <nbd@nbd.name>
Mon, 15 Sep 2025 07:59:02 +0000 (09:59 +0200)
committerFelix Fietkau <nbd@nbd.name>
Mon, 15 Sep 2025 11:23:01 +0000 (13:23 +0200)
commiteddc7286f6bbf574f8ab22cdf2afd349a893b447
tree7492f8317d9af19bba757033e3d65bc9317c720b
parent04414d7bba785a80400dff4b349f15f847ebc4ba
wifi: mt76: mt7996: fix key add/remove imbalance

Ensure that a key for a link is only added and removed once.
When bringing up a link, only upload keys for that particular link, instead
of iterating over all of them.

Link: https://patch.msgid.link/20250915075910.47558-7-nbd@nbd.name
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt7996/main.c