This patch corrects the retrieval of the connection handle
after the gatt write operation has succeeded successfully.
Change-Id: Iac79a64d6c626c2349b6f1a3744ea49a521a45f4
**
** Function bta_gattc_write_cmpl
**
-** Description read complete
+** Description write complete
**
** Returns None.
**
if (p_data->p_cmpl != NULL)
{
- bta_gattc_handle2id(p_clcb->p_srcb, p_data->p_cmpl->handle,
+ bta_gattc_handle2id(p_clcb->p_srcb, p_data->p_cmpl->att_value.handle,
&cb_data.write.srvc_id, &cb_data.write.char_id,
&cb_data.write.descr_type);
}