mt7601u: don't cleanup device second time after .resume()
authorJakub Kicinski <kubakici@wp.pl>
Tue, 2 Jun 2015 19:11:27 +0000 (21:11 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Mon, 8 Jun 2015 11:28:07 +0000 (14:28 +0300)
commit9a15b57e9a2c591a812d979fa3f4f1a763533636
tree480bf491c9fc18299d29a38c26c41076c7830332
parent2af6d21fce9990630d2adfda5a329706aa9e3571
mt7601u: don't cleanup device second time after .resume()

Make sure .disconnect() doesn't cleanup the device if
.resume() failed.  This may happen when device is removed
during suspend.

Signed-off-by: Jakub Kicinski <kubakici@wp.pl>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/mediatek/mt7601u/init.c
drivers/net/wireless/mediatek/mt7601u/usb.c