wifi: mt76: mt7915: fix capabilities in non-AP mode

[ Upstream commit 02a894046d ]

Capabilities in vif->bss_conf are only initialized in AP mode.
For other modes, they should be enabled by default, in order to avoid a
mismatch.

Fixes: 885f7af7e5 ("wifi: mt76: mt7915: remove mt7915_mcu_beacon_check_caps()")
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
Felix Fietkau 2023-06-29 22:39:30 +02:00 • committed by Greg Kroah-Hartman
commit 01b34b9dc2
3 changed files with 50 additions and 12 deletions