summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--runtime/transport/control.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/runtime/transport/control.c b/runtime/transport/control.c
index 925a6768..2b368320 100644
--- a/runtime/transport/control.c
+++ b/runtime/transport/control.c
@@ -173,6 +173,9 @@ static int _stp_ctl_send(int type, void *data, int len)
msleep(5);
if (err > 0)
wake_up_interruptible(&_stp_ctl_wq);
+ else
+ // printk instead of _stp_error since an error here means our transport is suspect
+ printk(KERN_ERROR "ctl_send (type=%d len=%d) failed: %d\n", type, len, err);
dbug_trans(1, "returning %d\n", err);
return err;
}