]> git.ipfire.org Git - thirdparty/kernel/linux.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)
committerFelix Fietkau <nbd@nbd.name>
Mon, 24 Nov 2025 13:37:53 +0000 (14:37 +0100)
commit084922069ceac4d594c06b76a80352139fd15f4d
tree70538f1b3bc9ff9a9c5efa535b0d3d9f5ac5260e
parent79277f8ad15ec5f255ed0e1427c7a8a3e94e7f52
wifi: mt76: mt7996: Remove unnecessary link_id checks in mt7996_tx

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>
drivers/net/wireless/mediatek/mt76/mt7996/main.c