Commit: ea03e79796ee9ede716c8134d0bdd920e73497e1
Parent: fa0ce2cbb4bc797aeab5b8c70618f0c55c1b8251
Author: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Committer: Johan Hedberg <johan.hedberg@intel.com>
Date: 2013-11-12 16:51:39
Tree: 6f49a25ab48d81b5764b32fdba9241e6862873fb

core: Do not attempt to connect if adapter is not powered If the adapter is not yet powered do not attempt to connect, also abort any connection attempt in case of error -EHOSTUNREACH is returned by the kernel which also means the adapter is not up or in case of -ECONNABORTED which means the adapter was powered down during the connection attempt.

Diffstat

M src/device.c | 14 ++++++++++++- -

1 files changed, 12 insertions(+), 2 deletions(-)

View Full Diff | Patch