X-Git-Url: http://ftp.safe.ca/?a=blobdiff_plain;f=net%2Fmac80211%2Fwme.c;h=0b8ad1f4ecdd8dbb1f77532874c1c5d6f3a60d1a;hb=b38b1f616867c832301f24eaf259889494d495b3;hp=093a4ab7f28b3db97e2f26e842f0ee5cb3d58ad4;hpb=96f5e66e8a79810e2982cdcfa28e554f3d97da21;p=safe%2Fjmp%2Flinux-2.6 diff --git a/net/mac80211/wme.c b/net/mac80211/wme.c index 093a4ab..0b8ad1f4 100644 --- a/net/mac80211/wme.c +++ b/net/mac80211/wme.c @@ -99,10 +99,13 @@ static u16 classify80211(struct ieee80211_local *local, struct sk_buff *skb) /* in case we are a client verify acm is not set for this ac */ while (unlikely(local->wmm_acm & BIT(skb->priority))) { if (wme_downgrade_ac(skb)) { - /* The old code would drop the packet in this - * case. + /* + * This should not really happen. The AP has marked all + * lower ACs to require admission control which is not + * a reasonable configuration. Allow the frame to be + * transmitted using AC_BK as a workaround. */ - return 0; + break; } }