[model] Redwood
[binary_type] AP
[customer] Docomo/Orange/Open
[issue#] N/A
[problem] While creating a PD, user cannot send request for destroying the PD
[cause] Destroy function only concerns created flag.
[solution] Check the registered callback too.
[team] HomeTF
[request]
[horizontal_expansion]
Change-Id: I088b1c83927fe2cdb58b8f5c07461a5542418b1a
Name: liblivebox-viewer
Summary: Library for developing the application.
-Version: 0.13.3
+Version: 0.13.4
Release: 1
Group: HomeTF/Livebox
License: Flora License
DbgPrint("pd_created_cb (%s) - %d\n", buf_id, status);
cb(handler, status, cbdata);
- } else if (status == 0) {
+ } else if (handler->is_pd_created) {
DbgPrint("LB_EVENT_PD_CREATED (%s) - %d\n", buf_id, status);
lb_invoke_event_handler(handler, LB_EVENT_PD_CREATED);
}
return LB_STATUS_ERROR_INVALID;
}
- if (!handler->is_pd_created) {
+ if (!handler->is_pd_created && !handler->pd_created_cb) {
ErrPrint("PD is not created\n");
return LB_STATUS_ERROR_INVALID;
}