summaryrefslogtreecommitdiffstats
path: root/yocto-poky/meta/recipes-core/dropbear/dropbear/0010-stop-robot-test-SSHLibrary-from-hanging.patch
blob: 851c89ff69bd0bc8be8f2de6a699737ec504f52f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
From aa4ff477eed539085609dc9a8a011ff2f010bd1c Mon Sep 17 00:00:00 2001
From: Chris Austen <austenc@us.ibm.com>
Date: Fri, 6 Nov 2015 13:15:54 -0600
Subject: [PATCH] stop robot test SSHLibrary from hanging

This reverts a change made in this commit

https://github.com/mkj/dropbear/commit/ca86726f9f943b2b18e5694b442d3d2e1c0fa903
---
 common-channel.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/common-channel.c b/common-channel.c
index abe5941..5a02d73 100644
--- a/common-channel.c
+++ b/common-channel.c
@@ -258,6 +258,8 @@ void channelio(fd_set *readfds, fd_set *writefds) {
 			do_check_close = 1;
 			ses.channel_signal_pending = 0;
 		}
+
+do_check_close = 1;
 	
 		/* handle any channel closing etc */
 		if (do_check_close) {
-- 
1.9.1

OpenPOWER on IntegriCloud