aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/iface.c
diff options
context:
space:
mode:
authorYoni Divinsky <yoni.divinsky@ti.com>2012-06-20 08:39:13 -0400
committerJohannes Berg <johannes.berg@intel.com>2012-06-20 11:35:22 -0400
commit00e96decfd0b927f975c98340a5982c5039eeaae (patch)
treeaec86580944dd4a5bc22238fe4a77bb3d8acc777 /net/mac80211/iface.c
parent50ae34a254ca5192e46503884ed0edd60795fe87 (diff)
mac80211: save wmm_acm per sdata
Save and configure the wmm_acm per sdata, rather than per hardware. If wmm_acm is saved per hardware when running two interfaces simultaneously on the same hardware one interface's wmm policy will be affected by the other interface. Signed-off-by: Yoni Divinsky <yoni.divinsky@ti.com> Signed-off-by: Luciano Coelho <coelho@ti.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/iface.c')
-rw-r--r--net/mac80211/iface.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac80211/iface.c b/net/mac80211/iface.c
index 87aeb4f21ffd..728d3eac1f59 100644
--- a/net/mac80211/iface.c
+++ b/net/mac80211/iface.c
@@ -808,7 +808,7 @@ static u16 ieee80211_monitor_select_queue(struct net_device *dev,
808 808
809 hdr = (void *)((u8 *)skb->data + le16_to_cpu(rtap->it_len)); 809 hdr = (void *)((u8 *)skb->data + le16_to_cpu(rtap->it_len));
810 810
811 return ieee80211_select_queue_80211(local, skb, hdr); 811 return ieee80211_select_queue_80211(sdata, skb, hdr);
812} 812}
813 813
814static const struct net_device_ops ieee80211_monitorif_ops = { 814static const struct net_device_ops ieee80211_monitorif_ops = {