]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - drivers/net/usb/r8152.c
r8152: fix the submission of the interrupt transfer
authorhayeswang <hayeswang@realtek.com>
Thu, 6 Feb 2014 03:55:48 +0000 (11:55 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 7 Feb 2014 05:18:06 +0000 (21:18 -0800)
commit3d55f44f563de2ab83209e8ead48d922b0d56a65
treeed33c0c241f233ab0422a41efeae1242a46d5d01
parent656493d6e730690b76d6e74253d0208841cf4dd9
r8152: fix the submission of the interrupt transfer

The submission of the interrupt transfer should be done after setting
the bit of WORK_ENABLE, otherwise the callback function would have
the opportunity to be returned directly.

Clear the bit of WORK_ENABLE before killing the interrupt transfer.

Signed-off-by: Hayes Wang <hayeswang@realtek.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/r8152.c