rxrpc: The IDLE ACK packet should use rxrpc_idle_ack_delay
authorDavid Howells <dhowells@redhat.com>
Tue, 13 Sep 2016 21:36:21 +0000 (22:36 +0100)
committerDavid Howells <dhowells@redhat.com>
Tue, 13 Sep 2016 21:36:21 +0000 (22:36 +0100)
The IDLE ACK packet should use the rxrpc_idle_ack_delay setting when the
timer is set for it.

Signed-off-by: David Howells <dhowells@redhat.com>
net/rxrpc/call_event.c

index 2b976e789562d9575cd4b4b14870d4e924e514d5..61432049869bca1ec1e4608b93b882154a361b83 100644 (file)
@@ -95,7 +95,7 @@ static void __rxrpc_propose_ACK(struct rxrpc_call *call, u8 ack_reason,
                break;
 
        case RXRPC_ACK_IDLE:
-               if (rxrpc_soft_ack_delay < expiry)
+               if (rxrpc_idle_ack_delay < expiry)
                        expiry = rxrpc_idle_ack_delay;
                break;