Fix WMM ACI to UP mapping according to IEEE 802.1d spec. Table 7-2.

Signed-off-by: Zhu Yi <[EMAIL PROTECTED]>

diff --git a/net/d80211/ieee80211_sta.c b/net/d80211/ieee80211_sta.c
index 393a294..fabdef5 100644
--- a/net/d80211/ieee80211_sta.c
+++ b/net/d80211/ieee80211_sta.c
@@ -289,7 +289,7 @@ static void ieee80211_sta_wmm_params(struct
net_device *dev,
                case 1:
                        queue = IEEE80211_TX_QUEUE_DATA3;
                        if (acm) {
-                               local->wmm_acm |= BIT(1) | BIT(2);
+                               local->wmm_acm |= BIT(0) | BIT(3);
                        }
                        break;
                case 2:
@@ -308,7 +308,7 @@ static void ieee80211_sta_wmm_params(struct
net_device *dev,
                default:
                        queue = IEEE80211_TX_QUEUE_DATA2;
                        if (acm) {
-                               local->wmm_acm |= BIT(0) | BIT(3);
+                               local->wmm_acm |= BIT(1) | BIT(2);
                        }
                        break;
                }

-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to