Merge tag 'mac80211-next-for-john-2014-11-20' of git://git.kernel.org/pub/scm/linux...
[deliverable/linux.git] / drivers / net / wireless / ath / ath9k / main.c
index 027ad715ffb2e48b2ae6c13a27a4ea61b4aadc63..7c63976b5b0c4182c9fe72284a3c6860ff3b0630 100644 (file)
@@ -1184,6 +1184,9 @@ static void ath9k_assign_hw_queues(struct ieee80211_hw *hw,
 {
        int i;
 
+       if (!ath9k_is_chanctx_enabled())
+               return;
+
        for (i = 0; i < IEEE80211_NUM_ACS; i++)
                vif->hw_queue[i] = i;
 
This page took 0.034469 seconds and 5 git commands to generate.