]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
mt76: mt7615: rework set_channel function
authorRyder Lee <ryder.lee@mediatek.com>
Sun, 22 Dec 2019 20:11:38 +0000 (04:11 +0800)
committerFelix Fietkau <nbd@nbd.name>
Fri, 14 Feb 2020 09:06:03 +0000 (10:06 +0100)
commit4fe9218c5eda4271d9d914c72dd2efb6a9eff680
tree7210f6e29ffe3ef3d4de29f85dfbde6229a9f41f
parent2cad515ece8ad4e8d696ccb5cd46940d7fcca2e3
mt76: mt7615: rework set_channel function

No need to send both MCU_EXT_CMD_SET_RX_PATH and MCU_EXT_CMD_CHANNEL_SWITCH
together to MCU.

Split them out by passing the proper command in the corresponding flow.

Signed-off-by: Ryder Lee <ryder.lee@mediatek.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt7615/main.c
drivers/net/wireless/mediatek/mt76/mt7615/mcu.c
drivers/net/wireless/mediatek/mt76/mt7615/mt7615.h