wifi: mt76: mt7915: fix capabilities in non-AP mode
authorFelix Fietkau <nbd@nbd.name>
Thu, 29 Jun 2023 20:39:30 +0000 (22:39 +0200)
committerFelix Fietkau <nbd@nbd.name>
Wed, 26 Jul 2023 09:15:04 +0000 (11:15 +0200)
commit02a894046d5ab7d0010f39ea54fde7e167919d04
treeab58b36e5e55bcca422db162c2e09853ed4aca93
parent46d3304d6552d6dfd715e66b4c28e7c70bedd2f7
wifi: mt76: mt7915: fix capabilities in non-AP mode

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: 885f7af7e544 ("wifi: mt76: mt7915: remove mt7915_mcu_beacon_check_caps()")
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt7915/main.c
drivers/net/wireless/mediatek/mt76/mt7915/mcu.c
drivers/net/wireless/mediatek/mt76/mt7915/mt7915.h