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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 8 Apr 2022 12:40:14 +0000 (14:40 +0200)
commit232c1cc9861100d87af25c9cebfbd1acbb5c41d8
treedf23737c7c50c28dd8303bd6a022fd2cfe1dd819
parent253cc4aafc219692749edc581efbd9d218d7d990
mt76: mt7915: use proper aid value in mt7915_mcu_sta_basic_tlv

[ Upstream commit abdb8bc94be4cf68aa71c9a8ee0bad9b3e6f52d3 ]

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

Fixes: e57b7901469fc ("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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/wireless/mediatek/mt76/mt7915/mcu.c