summaryrefslogtreecommitdiffstats
path: root/4a-hal/4a-hal-manager
diff options
context:
space:
mode:
authorJonathan Aillet <jonathan.aillet@iot.bzh>2018-06-08 10:50:02 +0200
committerJonathan Aillet <jonathan.aillet@iot.bzh>2018-10-08 15:52:51 +0200
commit2ae25fb1dab5e907223d2e8fc54364d050ee18a8 (patch)
treedbcaecd0b3ec24652572c63674e7574cf5c4b0f6 /4a-hal/4a-hal-manager
parentb55d3b5dfeb0a4dc2495290cf15fab8386bd9e9d (diff)
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 <jonathan.aillet@iot.bzh>
Diffstat (limited to '4a-hal/4a-hal-manager')
-rw-r--r--4a-hal/4a-hal-manager/4a-hal-manager-cb.c3
1 files changed, 2 insertions, 1 deletions
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);
#n178'>178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262