projects
/
profile
/
mobile
/
platform
/
kernel
/
linux-3.10-sc7730.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Bluetooth: Read host suggested default le data length
[profile/mobile/platform/kernel/linux-3.10-sc7730.git]
/
net
/
bluetooth
/
hci_event.c
diff --git
a/net/bluetooth/hci_event.c
b/net/bluetooth/hci_event.c
index
b05d07c
..
3e9356d
100644
(file)
--- a/
net/bluetooth/hci_event.c
+++ b/
net/bluetooth/hci_event.c
@@
-1354,11
+1354,21
@@
static void hci_cc_le_read_def_data_len(struct hci_dev *hdev,
BT_DBG("%s status 0x%2.2x", hdev->name, rp->status);
BT_DBG("%s status 0x%2.2x", hdev->name, rp->status);
+#ifdef CONFIG_TIZEN_WIP
+ hci_dev_lock(hdev);
+#else
if (rp->status)
return;
if (rp->status)
return;
+#endif
hdev->le_def_tx_len = le16_to_cpu(rp->tx_len);
hdev->le_def_tx_time = le16_to_cpu(rp->tx_time);
hdev->le_def_tx_len = le16_to_cpu(rp->tx_len);
hdev->le_def_tx_time = le16_to_cpu(rp->tx_time);
+
+#ifdef CONFIG_TIZEN_WIP
+ mgmt_le_read_host_suggested_data_length_complete(hdev, rp->status);
+
+ hci_dev_unlock(hdev);
+#endif
}
static void hci_cc_le_write_def_data_len(struct hci_dev *hdev,
}
static void hci_cc_le_write_def_data_len(struct hci_dev *hdev,