IPoIB/cm: Fix timeout check in ipoib_cm_dev_stop()
authorMichael S. Tsirkin <mst@dev.mellanox.co.il>
Thu, 24 May 2007 21:02:39 +0000 (14:02 -0700)
committerRoland Dreier <rolandd@cisco.com>
Thu, 24 May 2007 21:02:39 +0000 (14:02 -0700)
commit8fd357a6e3375083f7d321413eb8f6739491f342
tree5296052431ba9ca57184c9de827329f6a563f115
parent65a2c841d68ae3402ea4cad8d00fe4b9b0a5bc80
IPoIB/cm: Fix timeout check in ipoib_cm_dev_stop()

time_after() was used backwards, so the timeout occurred immediately.

Signed-off-by: Michael S. Tsirkin <mst@dev.mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/ulp/ipoib/ipoib_cm.c