wifi: mt76: mt7996: add missing NULL pointer check

Fixes: d1a2900a39 ("wifi: mt76: mt7996: Set proper link destination address in mt7996_tx()")
Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
Felix Fietkau
2025-09-09 09:56:12 +02:00
parent 719cda7c9f
commit 03b0c87163
+1 -1
View File
@@ -1298,7 +1298,7 @@ static void mt7996_tx(struct ieee80211_hw *hw,
link_id = mvif->mt76.deflink_id;
}
if (ieee80211_vif_is_mld(vif)) {
if (vif && ieee80211_vif_is_mld(vif)) {
struct ieee80211_bss_conf *link_conf;
if (msta) {