mac80211: introduce channel context skeleton code
[deliverable/linux.git] / net / mac80211 / main.c
index c80c4490351ce54fb75c41cdb9be1a313b0ffef5..9be3ef1d2e86c61d2e44f673a91a38a0cf848d6a 100644 (file)
@@ -626,6 +626,9 @@ struct ieee80211_hw *ieee80211_alloc_hw(size_t priv_data_len,
        spin_lock_init(&local->filter_lock);
        spin_lock_init(&local->queue_stop_reason_lock);
 
+       INIT_LIST_HEAD(&local->chanctx_list);
+       mutex_init(&local->chanctx_mtx);
+
        /*
         * The rx_skb_queue is only accessed from tasklets,
         * but other SKB queues are used from within IRQ
This page took 0.025172 seconds and 5 git commands to generate.