]> git.baikalelectronics.ru Git - kernel.git/commit
mt76: mt7915: use proper aid value in mt7915_mcu_sta_basic_tlv
authorLorenzo Bianconi <lorenzo@kernel.org>
Wed, 22 Dec 2021 16:06:36 +0000 (17:06 +0100)
committerFelix Fietkau <nbd@nbd.name>
Thu, 3 Feb 2022 12:57:57 +0000 (13:57 +0100)
commit772e9764bb3ba6d5ce5ab999088216802129575f
treefb3df20affdc64cd3260068f5e562737a6a3536c
parent7767f3e3bcf826f2822fe80c170fb70259384e5f
mt76: mt7915: use proper aid value in mt7915_mcu_sta_basic_tlv

Similar to mt7915_mcu_wtbl_generic_tlv, rely on vif->bss_conf.aid for
aid in sta mode and not on sta->aid.

Fixes: c30b8a606f8ff ("mt76: add mac80211 driver for MT7915 PCIe-based chipsets")
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt7915/mcu.c