Message ID | 20240131164910.60066625a239.Idfb6a5a9876f9f631eae760055e1c4018259a971@changeid |
---|---|
State | New |
Headers | show |
Series | [1/2] wifi: mac80211: reload info pointer in ieee80211_tx_dequeue() | expand |
diff --git a/net/mac80211/tx.c b/net/mac80211/tx.c index c2e4ef327377..c3e67e40dc9a 100644 --- a/net/mac80211/tx.c +++ b/net/mac80211/tx.c @@ -3954,7 +3954,8 @@ struct sk_buff *ieee80211_tx_dequeue(struct ieee80211_hw *hw, ieee80211_free_txskb(&local->hw, skb); goto begin; } else { - vif = NULL; + info->control.vif = NULL; + return skb; } break; case NL80211_IFTYPE_AP_VLAN: