OSDN Git Service

ACL: Fix on_connection_packet_type_changed
authorHansong Zhang <hsz@google.com>
Mon, 30 Nov 2020 19:39:18 +0000 (11:39 -0800)
committerHansong Zhang <hsz@google.com>
Mon, 30 Nov 2020 21:37:34 +0000 (21:37 +0000)
commit341f9ff33661836003dbc7d29015ca182106e375
tree1ced3b06ceeab4a5f9d6025e20fcf4e49642c431
parentb17f980658288d49e36d029d09b4626b555f5912
ACL: Fix on_connection_packet_type_changed

This could happen before Connection Complete event is received from
controller.

We never did anything about it in legacy stack.
(HCI_CONN_PKT_TYPE_CHANGE_EVT is unused)

Bug: 174450658
Test: cert/run
Tag: #stability
Change-Id: Ia33dfb358988ebbd45abd66b9115e8529cf27d43
gd/hci/acl_manager/classic_impl.h
gd/hci/acl_manager_test.cc