From 2ae25fb1dab5e907223d2e8fc54364d050ee18a8 Mon Sep 17 00:00:00 2001 From: Jonathan Aillet Date: Fri, 8 Jun 2018 10:50:02 +0200 Subject: Set external hal status to ready at loading. Set external hal status to ready at loading, its a temporary measure to handle external hal for now. Change-Id: I248d2b1288af601681f5567f34037ecc8e06c6aa Signed-off-by: Jonathan Aillet --- 4a-hal/4a-hal-manager/4a-hal-manager-cb.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to '4a-hal') diff --git a/4a-hal/4a-hal-manager/4a-hal-manager-cb.c b/4a-hal/4a-hal-manager/4a-hal-manager-cb.c index 10fae1c..6d3c4c7 100644 --- a/4a-hal/4a-hal-manager/4a-hal-manager-cb.c +++ b/4a-hal/4a-hal-manager/4a-hal-manager-cb.c @@ -189,7 +189,8 @@ void HalMgrLoad(AFB_ReqT request) addedHal = HalUtlAddHalApiToHalList(HalMgrGlobalData); addedHal->internal = false; - addedHal->status = HAL_STATUS_UNAVAILABLE; + // TBD JAI : initialize external to unavailable once event from external hal will be handled + addedHal->status = HAL_STATUS_READY; addedHal->apiName = strdup(apiName); addedHal->sndCardPath = strdup(sndCardPath); -- cgit 1.2.3-korg