summaryrefslogtreecommitdiff
path: root/net/batman-adv/icmp_socket.c
diff options
context:
space:
mode:
authorMing Lei <ming.lei@canonical.com>2012-11-06 04:53:08 +0000
committerDavid S. Miller <davem@davemloft.net>2012-11-07 03:53:38 -0500
commit6f0a0986e328dd61610d898a09c9f4aa960ae64a (patch)
tree8f977eceb56500f10eb5c9e2480622649d78af14 /net/batman-adv/icmp_socket.c
parentec32115db2bcb7133171c6a036107ca7eb62267f (diff)
usbnet: runtime wake up device before calling usbnet_{read|write}_cmd
This patch gets the runtime PM reference count before calling usbnet_{read|write}_cmd, and puts it after completion of the usbnet_{read|write}_cmd, so that the usb control message can always be sent to one active device in the non-PM context. Signed-off-by: Ming Lei <ming.lei@canonical.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/batman-adv/icmp_socket.c')
0 files changed, 0 insertions, 0 deletions