mt7603: fix hardware queue assignment

The queues are ordered by priority. BK needs to be the first queue,
followed by BE

Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
Felix Fietkau
2018-11-28 21:11:05 +01:00
parent cd456ca87f
commit 3ecb7f8974
+2 -2
View File
@@ -171,8 +171,8 @@ mt7603_tx_tasklet(unsigned long data)
int mt7603_dma_init(struct mt7603_dev *dev)
{
static const u8 wmm_queue_map[] = {
[IEEE80211_AC_BE] = 0,
[IEEE80211_AC_BK] = 1,
[IEEE80211_AC_BK] = 0,
[IEEE80211_AC_BE] = 1,
[IEEE80211_AC_VI] = 2,
[IEEE80211_AC_VO] = 3,
};