summaryrefslogtreecommitdiff
path: root/drivers/net/xen-netback/interface.c
diff options
context:
space:
mode:
authorAjay Agarwal <ajaya@codeaurora.org>2019-03-11 16:58:06 +0530
committerAjay Agarwal <ajaya@codeaurora.org>2019-03-27 09:42:46 +0530
commit1c738b6a5f82df06e0be76d5fb5f6136e2dcc4e8 (patch)
treed28782d5770450235ab566fc3dcae7ba0ae44070 /drivers/net/xen-netback/interface.c
parente764712fd7f6db7921dc4b3dbbf772d613177633 (diff)
usb: gadget: f_fs: Queue request after setting is_busy flag
Currently the driver queues OUT EP request after ensuring that is_busy flag is false, and then sets it true. It might be possible that the queued request is completed before the execution reaches next line to set is_busy to true. As a result, is_busy remains true even after successful completion and no further request is queued. Fix this by first setting is_busy to true and then queueing the request. Change-Id: I87fce4e2cc94be8e6b6fb63fb1fc9afb9cf0d005 Signed-off-by: Ajay Agarwal <ajaya@codeaurora.org>
Diffstat (limited to 'drivers/net/xen-netback/interface.c')
0 files changed, 0 insertions, 0 deletions