projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Bluetooth: Add reading of all local feature pages
[GitHub/mt8127/android_kernel_alcatel_ttab.git]
/
net
/
bluetooth
/
hci_event.c
diff --git
a/net/bluetooth/hci_event.c
b/net/bluetooth/hci_event.c
index 8adc3915ece43b22776e706cfaef837ee8958f4a..3b2c0e07b25b1c743848d9dcaa49f2098860204d 100644
(file)
--- a/
net/bluetooth/hci_event.c
+++ b/
net/bluetooth/hci_event.c
@@
-544,6
+544,8
@@
static void hci_cc_read_local_ext_features(struct hci_dev *hdev,
if (rp->status)
return;
+ hdev->max_page = rp->max_page;
+
if (rp->page < HCI_MAX_PAGES)
memcpy(hdev->features[rp->page], rp->features, 8);
}