Message ID | CABPxzYKoMNehnzRAAwNsHjK=HWc+EYD3QQbSXrYLxXA7B8HnFQ@mail.gmail.com (mailing list archive) |
---|---|
State | Not Applicable |
Delegated to: | Johannes Berg |
Headers | show |
=== net/mac80211/tx.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/net/mac80211/tx.c b/net/mac80211/tx.c index 6d5791d..dfd0d98 100644 --- a/net/mac80211/tx.c +++ b/net/mac80211/tx.c @@ -766,6 +766,9 @@ ieee80211_tx_h_sequence(struct ieee80211_tx_data *tx) * number, if we have no matching interface then we * neither assign one ourselves nor ask the driver to. */ + if (info->control.vif == NULL) + return TX_DROP; + if (unlikely(info->control.vif->type == NL80211_IFTYPE_MONITOR)) return TX_CONTINUE; -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in