]> git.baikalelectronics.ru Git - kernel.git/commit
mt76: mt7921: wake the device before dumping power table
authorLorenzo Bianconi <lorenzo@kernel.org>
Sat, 5 Jun 2021 11:46:03 +0000 (13:46 +0200)
committerFelix Fietkau <nbd@nbd.name>
Sat, 19 Jun 2021 07:22:48 +0000 (09:22 +0200)
commit1ca9cfbfc556715c09e40b09874304582709a89c
tree75857f017e5c84d41704e554b0d2a41c5daa2cd2
parent9bdd0537ebc1ef50931dde80003979ab5fe24cc4
mt76: mt7921: wake the device before dumping power table

Always wake the device up before dumping the single_sku power table
otherwise the device can hang.

Fixes: 016f83a158a04 ("mt76: mt7921: add dumping Tx power table")
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt7921/debugfs.c