summaryrefslogtreecommitdiffstats
path: root/drivers/net/team
diff options
context:
space:
mode:
authorMing Lei <ming.lei@canonical.com>2012-06-19 23:15:52 +0200
committerDavid S. Miller <davem@davemloft.net>2012-06-23 02:34:17 +0200
commit5eeb3132eb4c5e9ca92e5247fe4575fe9f8c3efe (patch)
tree3634dc8b320544ca8e567a9899f480172a0f19a3 /drivers/net/team
parentusbnet: clear OPEN flag in failure path (diff)
downloadlinux-5eeb3132eb4c5e9ca92e5247fe4575fe9f8c3efe.tar.xz
linux-5eeb3132eb4c5e9ca92e5247fe4575fe9f8c3efe.zip
usbnet: decrease suspend count if returning -EBUSY for runtime suspend
This patch decreases dev->suspend_count in the -EBUSY failure path of usbnet_suspend. Without the change, the later runtime suspend will do nothing except for increasing dev->suspend_count. Signed-off-by: Ming Lei <ming.lei@canonical.com> Acked-by: Oliver Neukum <oneukum@suse.de> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/team')
0 files changed, 0 insertions, 0 deletions