diff options
Diffstat (limited to 'net/dccp/ccids')
-rw-r--r-- | net/dccp/ccids/ccid3.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/dccp/ccids/ccid3.c b/net/dccp/ccids/ccid3.c index cf93b019ecbe..9866dc175258 100644 --- a/net/dccp/ccids/ccid3.c +++ b/net/dccp/ccids/ccid3.c | |||
@@ -985,7 +985,7 @@ static int ccid3_hc_tx_send_packet(struct sock *sk, | |||
985 | ccid3_pr_debug("send_packet delay=%ld\n", delay); | 985 | ccid3_pr_debug("send_packet delay=%ld\n", delay); |
986 | delay /= -1000; | 986 | delay /= -1000; |
987 | /* divide by -1000 is to convert to ms and get sign right */ | 987 | /* divide by -1000 is to convert to ms and get sign right */ |
988 | rc = delay > 0 ? -EAGAIN : 0; | 988 | rc = delay > 0 ? delay : 0; |
989 | break; | 989 | break; |
990 | default: | 990 | default: |
991 | printk(KERN_CRIT "%s: %s, sk=%p, Illegal state (%d)!\n", | 991 | printk(KERN_CRIT "%s: %s, sk=%p, Illegal state (%d)!\n", |