]> git.baikalelectronics.ru Git - kernel.git/commit
mt76: mt7915: use proper aid value in mt7915_mcu_wtbl_generic_tlv in sta mode
authorLorenzo Bianconi <lorenzo@kernel.org>
Wed, 22 Dec 2021 11:52:17 +0000 (12:52 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 8 Apr 2022 12:23:28 +0000 (14:23 +0200)
commit406051cc5a2223b2edbbc79f692ece331ca56d76
tree90b4b0a54cfdbbb1f373e67bf606018087adad24
parentc49fc5dde410e84d76a4d68274a12e00057b82d8
mt76: mt7915: use proper aid value in mt7915_mcu_wtbl_generic_tlv in sta mode

[ Upstream commit 7767f3e3bcf826f2822fe80c170fb70259384e5f ]

mac80211 provides aid in vif->bss_conf.aid for sta mode and not in
sta->aid. Fix mt7915_mcu_wtbl_generic_tlv routine using proper value for
aid in sta mode.

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