mt76: mt7915: fix WMM index on DBDC cards
authorFelix Fietkau <nbd@nbd.name>
Wed, 8 Sep 2021 15:46:44 +0000 (17:46 +0200)
committerFelix Fietkau <nbd@nbd.name>
Wed, 20 Oct 2021 08:36:37 +0000 (10:36 +0200)
commitab06964eb96cedbfa7394abb0cdd8192c9317b66
treea65ee8e298610a60ad7b366a7be78fde295b3f75
parent2c3b26f2bc1fe4f01195fd7cbd93cf440ac6358f
mt76: mt7915: fix WMM index on DBDC cards

WMM index range needs to be split between both PHYs if a second PHY exists.
The condition for that was accidentally written as checking if the vif PHY
is the secondary one

Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt7915/main.c