]> git.proxmox.com Git - mirror_ubuntu-jammy-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)
committerStefan Bader <stefan.bader@canonical.com>
Wed, 27 Apr 2022 09:57:33 +0000 (11:57 +0200)
commit7d2655e5e0206c01d088fb5c9ad1fb7ffdc18a87
tree1c14716d2bc0d0a849ba9cc0a6e7074759a5c41b
parent71c57f0779d5ee04642b973c1ab93c7244461c32
mt76: mt7915: use proper aid value in mt7915_mcu_sta_basic_tlv

BugLink: https://bugs.launchpad.net/bugs/1969110
[ 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>
(cherry picked from commit 0f3d76144b9c6abb4ab67a378ba758f9817f9411)
Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com>
drivers/net/wireless/mediatek/mt76/mt7915/mcu.c