diff options
Diffstat (limited to 'net/mac80211/main.c')
-rw-r--r-- | net/mac80211/main.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/mac80211/main.c b/net/mac80211/main.c index dac68d476bff..a7430e98c531 100644 --- a/net/mac80211/main.c +++ b/net/mac80211/main.c | |||
@@ -781,6 +781,8 @@ struct ieee80211_hw *ieee80211_alloc_hw(size_t priv_data_len, | |||
781 | 781 | ||
782 | sta_info_init(local); | 782 | sta_info_init(local); |
783 | 783 | ||
784 | for (i = 0; i < IEEE80211_MAX_QUEUES; i++) | ||
785 | skb_queue_head_init(&local->pending[i]); | ||
784 | tasklet_init(&local->tx_pending_tasklet, ieee80211_tx_pending, | 786 | tasklet_init(&local->tx_pending_tasklet, ieee80211_tx_pending, |
785 | (unsigned long)local); | 787 | (unsigned long)local); |
786 | tasklet_disable(&local->tx_pending_tasklet); | 788 | tasklet_disable(&local->tx_pending_tasklet); |