manson-hcs-3xxx: Mark serial read call as blocking.

This driver opens the port without the SERIAL_NONBLOCK flag, so this call is
already a blocking one.
This commit is contained in:
Martin Ling 2014-09-16 01:49:53 +01:00 committed by Uwe Hermann
parent bf505eed6b
commit bbff0fe0d2
1 changed files with 1 additions and 1 deletions

View File

@ -177,7 +177,7 @@ static int handle_new_data(struct sr_dev_inst *sdi)
devc = sdi->priv;
serial = sdi->conn;
len = serial_read(serial, devc->buf + devc->buflen, 1);
len = serial_read_blocking(serial, devc->buf + devc->buflen, 1);
if (len < 1)
return SR_ERR;