]> git.baikalelectronics.ru Git - kernel.git/commit
mt76x0: alloc mcu buffers first in mt76x0_mcu_cmd_init
authorLorenzo Bianconi <lorenzo.bianconi@redhat.com>
Thu, 6 Sep 2018 09:18:46 +0000 (11:18 +0200)
committerFelix Fietkau <nbd@nbd.name>
Wed, 19 Sep 2018 10:31:03 +0000 (12:31 +0200)
commit19d16be0bcdc3ab65e4f3d973ddc3bbd94fdffba
treeb9f813d9a00cecd91744d9a6011c41841dd7c894
parentad722d411287f611e12c55231c9d65bcfd1bd362
mt76x0: alloc mcu buffers first in mt76x0_mcu_cmd_init

swap mt76u_mcu_init_rx and mt76x0_mcu_function_select in
mt76x0_mcu_cmd_init routine in order to allocate mcu buffers
first and then send mcu commands

Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi@redhat.com>
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt76x0/mcu.c