aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/iface.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/mac80211/iface.c')
-rw-r--r--net/mac80211/iface.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/mac80211/iface.c b/net/mac80211/iface.c
index 6e85faed053d..23d1da376eb3 100644
--- a/net/mac80211/iface.c
+++ b/net/mac80211/iface.c
@@ -163,7 +163,8 @@ static int ieee80211_check_queues(struct ieee80211_sub_if_data *sdata)
163 return -EINVAL; 163 return -EINVAL;
164 } 164 }
165 165
166 if (sdata->vif.type != NL80211_IFTYPE_AP) { 166 if ((sdata->vif.type != NL80211_IFTYPE_AP) ||
167 !(sdata->local->hw.flags & IEEE80211_HW_QUEUE_CONTROL)) {
167 sdata->vif.cab_queue = IEEE80211_INVAL_HW_QUEUE; 168 sdata->vif.cab_queue = IEEE80211_INVAL_HW_QUEUE;
168 return 0; 169 return 0;
169 } 170 }