Response is missing if the request of getting bonded device and devices is coming
while bonded_list_retrieved not set.
Change-Id: I0abd411ba3acdf59518b54293f8d34663de52a0c
Signed-off-by: Harsh Jain <jain.harsh@samsung.com>
BT_DBG("No paired device found");
bonded_list_index = 0;
bonded_list_retrieved = TRUE;
- /* Send reply if request for BT_GET_BONDED_DEVICES is pending */
+ /* Send reply if request for BT_GET_BONDED_DEVICE and BT_GET_BONDED_DEVICES is pending */
+ __bt_handle_pending_request(BLUETOOTH_ERROR_NONE, BT_GET_BONDED_DEVICE);
__bt_handle_pending_request(BLUETOOTH_ERROR_NONE, BT_GET_BONDED_DEVICES);
return;
}