Module: xenomai-2.6
Branch: master
Commit: 701cb2dac40e98551d6edcaeb15480731a0f6eba
URL:    
http://git.xenomai.org/?p=xenomai-2.6.git;a=commit;h=701cb2dac40e98551d6edcaeb15480731a0f6eba

Author: Philippe Gerum <r...@xenomai.org>
Date:   Sun Feb 28 07:54:32 2016 +0100

rtipc/bufp: fix wrong TX timeout

---

 ksrc/drivers/ipc/bufp.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ksrc/drivers/ipc/bufp.c b/ksrc/drivers/ipc/bufp.c
index d9a5b8b..ef92b8c 100644
--- a/ksrc/drivers/ipc/bufp.c
+++ b/ksrc/drivers/ipc/bufp.c
@@ -442,7 +442,7 @@ static ssize_t __bufp_writebuf(struct bufp_socket *rsk,
 
        len = bufd->b_len;
 
-       rtdm_toseq_init(&toseq, sk->rx_timeout);
+       rtdm_toseq_init(&toseq, sk->tx_timeout);
 
        rtipc_enter_atomic(wait.lockctx);
 


_______________________________________________
Xenomai-git mailing list
Xenomai-git@xenomai.org
http://xenomai.org/mailman/listinfo/xenomai-git

Reply via email to