mt76: connac: unschedule mac_work before going to sleep
authorLorenzo Bianconi <lorenzo@kernel.org>
Wed, 21 Apr 2021 10:43:50 +0000 (12:43 +0200)
committerFelix Fietkau <nbd@nbd.name>
Wed, 21 Apr 2021 18:55:55 +0000 (20:55 +0200)
commitb1bd7bb8121d89518b2248357a070d4bf8defd3e
treeabd05dd22dc3b1ad215e82a453d4dfac304d76e5
parentabe912ae3cd42f95beeff8eb67acbe0ca8b8aedd
mt76: connac: unschedule mac_work before going to sleep

In order to wake the device less frequently and so reduce power
consumpation, unschedule mac_work before going to sleep

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