diff options
author | Stanislaw Gruszka <sgruszka@redhat.com> | 2019-04-26 09:58:40 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2019-05-01 13:03:59 +0200 |
commit | 1fb869a2d98e1522c35da15de507d0a015c2b120 (patch) | |
tree | 3029bb4bcb95e0a230f602f4fe5a7b3aff827adf /drivers/net/wireless/mediatek/mt76/mt76x0 | |
parent | MAINTAINERS: update entry for mt76 wireless driver (diff) | |
download | linux-1fb869a2d98e1522c35da15de507d0a015c2b120.tar.xz linux-1fb869a2d98e1522c35da15de507d0a015c2b120.zip |
mt76: mt76x02u: remove bogus stop on suspend
On suspend mac80211 .stop callback is called before .suspend(), so
hw mac is already stopped and we do not have to do this again.
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'drivers/net/wireless/mediatek/mt76/mt76x0')
-rw-r--r-- | drivers/net/wireless/mediatek/mt76/mt76x0/usb.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/wireless/mediatek/mt76/mt76x0/usb.c b/drivers/net/wireless/mediatek/mt76/mt76x0/usb.c index ee8d4b5c4558..53ec7dc38b9d 100644 --- a/drivers/net/wireless/mediatek/mt76/mt76x0/usb.c +++ b/drivers/net/wireless/mediatek/mt76/mt76x0/usb.c @@ -314,7 +314,6 @@ static int __maybe_unused mt76x0_suspend(struct usb_interface *usb_intf, struct mt76x02_dev *dev = usb_get_intfdata(usb_intf); mt76u_stop_queues(&dev->mt76); - mt76x0u_mac_stop(dev); clear_bit(MT76_STATE_MCU_RUNNING, &dev->mt76.state); mt76x0_chip_onoff(dev, false, false); |