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)
commit6219e4933329f71b05dd08e00baad04d78640ba5
treecbc557b38e9f80385d87f314fa807fcc77dd05a1
parent4b3d7b6d84938be9b4c4b1656ebd424e5645d1ca
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