projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
79d9b62
)
net: qmi_wwan: no need to check for resume if suspend exists
author
Bjørn Mork
<bjorn@mork.no>
Fri, 1 Nov 2013 13:18:54 +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/qmi_wwan.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/usb/qmi_wwan.c
b/drivers/net/usb/qmi_wwan.c
index 5dd0d85e633544dd42937fd7f50ba0c4cc3877a8..23bdd5b9274ddb6becb5eabad2d4709b7b2a732d 100644
(file)
--- a/
drivers/net/usb/qmi_wwan.c
+++ b/
drivers/net/usb/qmi_wwan.c
@@
-416,7
+416,7
@@
static int qmi_wwan_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;