diff options
author | Felix Fietkau <nbd@nbd.name> | 2019-02-25 19:25:38 +0300 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2019-02-26 12:28:19 +0300 |
commit | 4606a26c0c51d23401a00d787aa61e508f3e14a7 (patch) | |
tree | aae009235a79a5032217e4104922aeb76c4bcd17 /drivers/cpufreq/kirkwood-cpufreq.c | |
parent | 72e5d479b8de4a3b3cbc01f9fcc4a6936f82414f (diff) | |
download | linux-4606a26c0c51d23401a00d787aa61e508f3e14a7.tar.xz |
mt76: mt76x02: fix ED/CCA enabling/disabling
ED/CCA needs to be disable before stopping the MAC to avoid hangs from tx
being blocked. It must only be enabled again after the MAC has been started
again.
In many places this wasn't done properly, so fix this by always clearing
the relevant ED/CCA bits in mt76x2_mac_stop and set it up again after
channel change or calibration is done
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'drivers/cpufreq/kirkwood-cpufreq.c')
0 files changed, 0 insertions, 0 deletions