]> git.baikalelectronics.ru Git - kernel.git/commit
mt76: mt7921: set MT76_RESET during mac reset
authorLorenzo Bianconi <lorenzo@kernel.org>
Fri, 28 May 2021 17:11:42 +0000 (19:11 +0200)
committerFelix Fietkau <nbd@nbd.name>
Sat, 19 Jun 2021 07:22:47 +0000 (09:22 +0200)
commit90de6d3f110395d720a816e4b6fa93ceb2e9c631
tree4aeeb90ec31cd0fb0ae702dbf21a4eec356b2c37
parent9198e8f80cd66a4256263c2705d6921228d0f447
mt76: mt7921: set MT76_RESET during mac reset

Set MT76_RESET during mt7921_mac_reset in order to avoid packet
transmissions. Move tx scheduling at the end of reset routine.

Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt7921/mac.c