Commit: 7f54269accac8b4e36c87d3ba297b9a9a122504d
Parent: 5e9048c87882d8eb322a6b1b5d3391756ba88354
Author: Anderson Lizardo <anderson.lizardo@openbossa.org>
Committer: Johan Hedberg <johan.hedberg@intel.com>
Date: 2011-11-18 17:37:02
Tree: 30628bd690a2dd448f1ac605372c80bb8bf2a5cf

serial: Fix error handling in connect_port() bt_io_connect() does not set errno on error, instead it uses GError. For now, simply return -EIO if bt_io_connect() fails. The serial plug-in code can be changed later to use and set GError appropriately.

Diffstat

M serial/port.c | 6 +++- - -

1 files changed, 3 insertions(+), 3 deletions(-)

View Full Diff | Patch