]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
wifi: mt76: mt7996: Remove unnecessary link_id checks in mt7996_tx
authorLorenzo Bianconi <lorenzo@kernel.org>
Wed, 24 Sep 2025 13:51:39 +0000 (15:51 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 18 Dec 2025 13:03:13 +0000 (14:03 +0100)
commitcbeca0b7ea207028036fa365ca7441c7720891c2
tree37dd45fb4c1c915d2dad20ba1b9c6d4c28c30536
parentb8f34c1c5c4f5130c20e3253c95ba1d844d402b9
wifi: mt76: mt7996: Remove unnecessary link_id checks in mt7996_tx

[ Upstream commit 084922069ceac4d594c06b76a80352139fd15f4d ]

Remove unnecessary link_id checks in mt7996_tx routine since if the link
identifier provided by mac80211 is unspecified the value will be
overwritten at the beginning on the function.

Fixes: f940c9b7aef6 ("wifi: mt76: mt7996: Set proper link destination address in mt7996_tx()")
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Link: https://patch.msgid.link/20250924-mt76_tx_unnecessary-check-v1-1-e595930a5662@kernel.org
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/wireless/mediatek/mt76/mt7996/main.c