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)
commit271fa685365842962f56651c9d1a33a0d0d3b30b
tree75857f017e5c84d41704e554b0d2a41c5daa2cd2
parent6ab079e2aba283e3e356cc60dd3d0648adc15b1d
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: ea29acc97c555 ("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