set_config(): Add missing CS5 handling.

This commit is contained in:
Uwe Hermann 2013-11-19 12:32:01 +01:00
parent c85d0a28de
commit 23922313b3
1 changed files with 3 additions and 0 deletions

View File

@ -897,6 +897,9 @@ static enum sp_return set_config(struct sp_port *port, struct port_data *data,
case 6:
data->term.c_cflag |= CS6;
break;
case 5:
data->term.c_cflag |= CS5;
break;
default:
return SP_ERR_ARG;
}