- patches.suse/slab-handle-memoryless-nodes-v2a.patch: Refresh.
[linux-flexiantxendom0-3.2.10.git] / net / mac80211 / wme.c
index 6d32ebf..79d887d 100644 (file)
@@ -63,6 +63,13 @@ u16 ieee80211_select_queue(struct ieee80211_sub_if_data *sdata,
        rcu_read_lock();
        switch (sdata->vif.type) {
        case NL80211_IFTYPE_AP_VLAN:
+               rcu_read_lock();
+               sta = rcu_dereference(sdata->u.vlan.sta);
+               if (sta)
+                       sta_flags = get_sta_flags(sta);
+               rcu_read_unlock();
+               if (sta)
+                       break;
        case NL80211_IFTYPE_AP:
                ra = skb->data;
                break;