mirror of
https://github.com/outbackdingo/mt76.git
synced 2026-10-24 21:36:52 +00:00
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:
+1
-1
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user