Module: xenomai-3
Branch: stable-3.0.x
Commit: 452d78b2efa0ecbc1fd546045670ad79b1f6e758
URL:    
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=452d78b2efa0ecbc1fd546045670ad79b1f6e758

Author: Philippe Gerum <r...@xenomai.org>
Date:   Sat Feb 27 19:29:22 2016 +0100

drivers/ipc: bufp: fix wrong TX timeout

---

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

diff --git a/kernel/drivers/ipc/bufp.c b/kernel/drivers/ipc/bufp.c
index 7ea8b2c..ecce4f9 100644
--- a/kernel/drivers/ipc/bufp.c
+++ b/kernel/drivers/ipc/bufp.c
@@ -423,7 +423,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);
 
        cobalt_atomic_enter(s);
 redo:


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

Reply via email to