mac80211: use multi-queue master netdevice
[deliverable/linux.git] / net / mac80211 / iface.c
index 3c64e42eb12e40fdd19f111e6854b07caff3f579..98447270238149d7c0b8b1cdc3fab8ecba0b7aee 100644 (file)
@@ -168,7 +168,7 @@ void ieee80211_if_set_type(struct net_device *dev, int type)
                ifsta->flags |= IEEE80211_STA_CREATE_IBSS |
                        IEEE80211_STA_AUTO_BSSID_SEL |
                        IEEE80211_STA_AUTO_CHANNEL_SEL;
-               if (sdata->local->hw.queues >= 4)
+               if (ieee80211_num_regular_queues(&sdata->local->hw) >= 4)
                        ifsta->flags |= IEEE80211_STA_WMM_ENABLED;
 
                msdata = IEEE80211_DEV_TO_SUB_IF(sdata->local->mdev);
This page took 0.023695 seconds and 5 git commands to generate.