OSDN Git Service
(root)
/
android-x86
/
system-bt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2f01df7
)
HIDH: Don't set a minimum MTU
author
Myles Watson
<mylesgw@google.com>
Fri, 2 Oct 2020 16:49:50 +0000
(09:49 -0700)
committer
Myles Watson
<mylesgw@google.com>
Fri, 2 Oct 2020 16:50:30 +0000
(16:50 +0000)
Bug:
169780397
Test: Pair with a logitech 557 mouse
Tag: #gd-refactor
Change-Id: I5ad88645ea45e3ae016f5a6f54017558ae2b8049
stack/hid/hidh_conn.cc
patch
|
blob
|
history
diff --git
a/stack/hid/hidh_conn.cc
b/stack/hid/hidh_conn.cc
index
2f95dd1
..
bbef4e3
100644
(file)
--- a/
stack/hid/hidh_conn.cc
+++ b/
stack/hid/hidh_conn.cc
@@
-88,7
+88,7
@@
tHID_STATUS hidh_conn_reg(void) {
/* Now, register with L2CAP */
if (!L2CA_Register2(HID_PSM_CONTROL, hst_reg_info, false /* enable_snoop */,
- nullptr, HID_HOST_MTU,
hh_cb.l2cap_cfg.mtu
,
+ nullptr, HID_HOST_MTU,
0
,
BTA_SEC_AUTHENTICATE | BTA_SEC_ENCRYPT)) {
HIDH_TRACE_ERROR("HID-Host Control Registration failed");
return (HID_ERR_L2CAP_FAILED);