Re: [PATCH net] r8152: fix the submission of the interrupt transfer

2014-02-06 Thread David Miller
From: Hayes Wang Date: Thu, 6 Feb 2014 11:55:48 +0800 > 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 interr

[PATCH net] r8152: fix the submission of the interrupt transfer

2014-02-05 Thread Hayes Wang
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 --- drivers/net/usb/r81