aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/mediatek/mt76/mt76x2/mt76x2u.h
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2019-02-25 17:25:38 +0100
committerFelix Fietkau <nbd@nbd.name>2019-02-26 10:28:19 +0100
commit4606a26c0c51d23401a00d787aa61e508f3e14a7 (patch)
treeaae009235a79a5032217e4104922aeb76c4bcd17 /drivers/net/wireless/mediatek/mt76/mt76x2/mt76x2u.h
parentmt76: mt76x02: issue watchdog reset on MCU request timeout (diff)
downloadlinux-dev-4606a26c0c51d23401a00d787aa61e508f3e14a7.tar.xz
linux-dev-4606a26c0c51d23401a00d787aa61e508f3e14a7.zip
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/net/wireless/mediatek/mt76/mt76x2/mt76x2u.h')
0 files changed, 0 insertions, 0 deletions