diff options
Diffstat (limited to 'runtime/transport/control.c')
-rw-r--r-- | runtime/transport/control.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/runtime/transport/control.c b/runtime/transport/control.c index 7b14901e..68c3b9ae 100644 --- a/runtime/transport/control.c +++ b/runtime/transport/control.c @@ -59,6 +59,12 @@ static ssize_t _stp_ctl_write_cmd (struct file *file, const char __user *buf, case STP_EXIT: _stp_exit_flag = 1; break; + case STP_BULK: +#ifdef STP_BULKMODE + return count; +#else + return -1; +#endif default: errk ("invalid command type %d\n", type); return -EINVAL; |