profiles/audio: Fix propagation of EHOSTDOWN error 41/22541/1 submit/tizen/20140606.095742
authorAndrzej Kaczmarek <andrzej.kaczmarek@tieto.com>
Wed, 4 Jun 2014 15:14:45 +0000 (17:14 +0200)
committerSebastian Chlad <sebastian.chlad@tieto.com>
Thu, 5 Jun 2014 14:29:56 +0000 (16:29 +0200)
commitbb3a919f75fcd5b353ba03bae7afca947dbc7ef9
treea61451cef421970b6b28c5f231d755392551007e
parent4fa360402bd58c73d31ec629fc4816ef24a9d160
profiles/audio: Fix propagation of EHOSTDOWN error

EHOSTDOWN error is now overwritten by EIO and once it's passed to
device_profile_connected it triggers connection of another profiles
while it should actually stop connecting them.

Change-Id: I2a2f802c582214170f7a2c8d89a550c72d07efab
Signed-off-by: Sebastian Chlad <sebastianx.chlad@intel.com>
profiles/audio/sink.c
profiles/audio/source.c