net/smc: reset recv timeout after clc handshake
authorKarsten Graul <kgraul@linux.ibm.com>
Wed, 18 Jul 2018 13:22:51 +0000 (15:22 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 18 Jul 2018 17:58:27 +0000 (10:58 -0700)
commitf6bdc42f021194ec095914b92c7a8b1a09789e6d
treedb8d7de3553bb23e760f9d1ec3222d9baa1af0c4
parentac0107edba253a6e58e923f9e68825decef3e681
net/smc: reset recv timeout after clc handshake

During clc handshake the receive timeout is set to CLC_WAIT_TIME.
Remember and reset the original timeout value after the receive calls,
and remove a duplicate assignment of CLC_WAIT_TIME.

Signed-off-by: Karsten Graul <kgraul@linux.ibm.com>
Signed-off-by: Ursula Braun <ubraun@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/smc/smc_clc.c