projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a298807
)
net: cdc_mbim: no need to check for resume if suspend exists
author
Bjørn Mork
<bjorn@mork.no>
Fri, 1 Nov 2013 13:18:55 +0000
(14:18 +0100)
committer
David S. Miller
<davem@davemloft.net>
Mon, 4 Nov 2013 20:40:16 +0000
(15:40 -0500)
Reported-by: Oliver Neukum <oneukum@suse.de>
Signed-off-by: Bjørn Mork <bjorn@mork.no>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/cdc_mbim.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/usb/cdc_mbim.c
b/drivers/net/usb/cdc_mbim.c
index fbfd67fe6a9a1d80cec2a9b46dfb13432f789a5b..347e6b92673534676ccc9ac6a8c8a88699699d50 100644
(file)
--- a/
drivers/net/usb/cdc_mbim.c
+++ b/
drivers/net/usb/cdc_mbim.c
@@
-410,7
+410,7
@@
static int cdc_mbim_resume(struct usb_interface *intf)
if (ret < 0)
goto err;
ret = usbnet_resume(intf);
- if (ret < 0 && callsub
&& info->subdriver->suspend
)
+ if (ret < 0 && callsub)
info->subdriver->suspend(intf, PMSG_SUSPEND);
err:
return ret;