OSDN Git Service

mt76: connac: fix up the setting for ht40 mode in mt76_connac_mcu_uni_add_bss
authorSean Wang <sean.wang@mediatek.com>
Fri, 19 Feb 2021 17:28:47 +0000 (18:28 +0100)
committerFelix Fietkau <nbd@nbd.name>
Sun, 11 Apr 2021 22:01:20 +0000 (00:01 +0200)
commita7e3033fcdb60ad51b03896ae99ad9447389bed0
tree60bf10824714909fcecdb8e1d5ae22da3ab502ce
parent159f6dd619d953e2a137bfb42cbce7cbed621c76
mt76: connac: fix up the setting for ht40 mode in mt76_connac_mcu_uni_add_bss

Use proper value for ht40 mode configuration in mt76_connac_mcu_uni_add_bss
routine and not ht20 one

Fixes: d0e274af2f2e4 ("mt76: mt76_connac: create mcu library")
Co-developed-by: Soul Huang <Soul.Huang@mediatek.com>
Signed-off-by: Soul Huang <Soul.Huang@mediatek.com>
Signed-off-by: Sean Wang <sean.wang@mediatek.com>
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt76_connac_mcu.c