ntb_netdev: fix sleep time mismatch
authorJon Mason <jdmason@kudzu.us>
Mon, 11 Jun 2018 20:13:12 +0000 (16:13 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 28 Nov 2019 17:28:52 +0000 (18:28 +0100)
commitbb51638760b1ae06c398385f6fa0015e33d5848b
tree316cb042821a8e7137f204d4982e089330374062
parent8f74ac645ab07f2c728c8b147a891febad01e270
ntb_netdev: fix sleep time mismatch

[ Upstream commit a861594b1b7ffd630f335b351c4e9f938feadb8e ]

The tx_time should be in usecs (according to the comment above the
variable), but the setting of the timer during the rearming is done in
msecs.  Change it to match the expected units.

Fixes: e74bfeedad08 ("NTB: Add flow control to the ntb_netdev")
Suggested-by: Gerd W. Haeussler <gerd.haeussler@cesys-it.com>
Signed-off-by: Jon Mason <jdmason@kudzu.us>
Acked-by: Dave Jiang <dave.jiang@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/ntb_netdev.c