]> git.baikalelectronics.ru Git - kernel.git/commit
staging: unisys: visornic: Reorder logic in visornic_enable_with_timeout()
authorDavid Binder <david.binder@unisys.com>
Mon, 9 Jan 2017 18:02:25 +0000 (13:02 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 10 Jan 2017 16:29:46 +0000 (17:29 +0100)
commit504ec22c59ba169d9403a8f082dc574d368f62e5
treecbc557b38e9f80385d87f314fa807fcc77dd05a1
parent4a1917a735a595192168cbca8bfa686a047d502d
staging: unisys: visornic: Reorder logic in visornic_enable_with_timeout()

Moves the call to napi_enable() before the call to init_rcv_bufs(),
ensuring that messages are not put into the receive queue until the guest
is ready to receive interrupts.

Signed-off-by: David Binder <david.binder@unisys.com>
Signed-off-by: David Kershner <david.kershner@unisys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/unisys/visornic/visornic_main.c