IB/mthca: Allow the QP state transition RESET->RESET
authorDotan Barak <dotanb@dev.mellanox.co.il>
Tue, 9 Jan 2007 09:53:07 +0000 (11:53 +0200)
committerRoland Dreier <rolandd@cisco.com>
Fri, 16 Feb 2007 21:57:32 +0000 (13:57 -0800)
commitfc89afce349a70f73d9c0b6d91a15c4913f071a0
treee91ba91db7a33bd538287e6a4dee914624ae514c
parent8a03d9a498eaf02c8a118752050a5154852c13bf
IB/mthca: Allow the QP state transition RESET->RESET

RESET->RESET is an allowed QP state transition, so mthca should handle
it correctly, by just returning success without involving the firmware.

Signed-off-by: Dotan Barak <dotanb@mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/mthca/mthca_qp.c