[SCSI] libiscsi: fix setting of nop timer
authorMike Christie <michaelc@cs.wisc.edu>
Thu, 31 Jan 2008 19:36:50 +0000 (13:36 -0600)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Fri, 8 Feb 2008 00:02:37 +0000 (18:02 -0600)
commitad294e9cd11d029fc0d09ab129fba5bea46de0dc
treeaf02c1550725c5e2a20e785ed8cda0ab1f09c6a4
parent921601b7031f8a2c71f49f1b965ee00ebbca6886
[SCSI] libiscsi: fix setting of nop timer

If we rollover then we could get a next_timeout of zero, so we need
to set the new timer to that value.

Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/scsi/libiscsi.c