bt_dev_dbg(hdev, "status 0x%2.2x", rp->status);
if (rp->status)
+#ifndef TIZEN_BT
return rp->status;
+#else
+ goto unblock;
+#endif
sent = hci_sent_cmd_data(hdev, HCI_OP_LE_WRITE_DEF_DATA_LEN);
if (!sent)
+#ifndef TIZEN_BT
return rp->status;
+#else
+ goto unblock;
+#endif
hdev->le_def_tx_len = le16_to_cpu(sent->tx_len);
hdev->le_def_tx_time = le16_to_cpu(sent->tx_time);
return rp->status;
+#ifdef TIZEN_BT
+unblock:
+ mgmt_le_write_host_suggested_data_length_complete(hdev, rp->status);
+ return rp->status;
+#endif
}
static u8 hci_cc_le_add_to_resolv_list(struct hci_dev *hdev, void *data,