mac80211: use multi-queue master netdevice
[deliverable/linux.git] / net / mac80211 / sta_info.c
index ef3149324d54af2f3d4daf0bee18fc3c7e339d75..c24770cb02c5d696f160136c497f2a9544747128 100644 (file)
@@ -255,7 +255,7 @@ struct sta_info *sta_info_alloc(struct ieee80211_sub_if_data *sdata,
                 * sta_rx_agg_session_timer_expired for useage */
                sta->timer_to_tid[i] = i;
                /* tid to tx queue: initialize according to HW (0 is valid) */
-               sta->tid_to_tx_q[i] = local->hw.queues + local->hw.ampdu_queues;
+               sta->tid_to_tx_q[i] = ieee80211_num_queues(&local->hw);
                /* rx */
                sta->ampdu_mlme.tid_state_rx[i] = HT_AGG_STATE_IDLE;
                sta->ampdu_mlme.tid_rx[i] = NULL;
This page took 0.023838 seconds and 5 git commands to generate.