Bluetooth: hci_sync: Correct hci_set_event_mask_page_2_sync() event mask
authorZijun Hu <quic_zijuhu@quicinc.com>
Wed, 13 Jul 2022 06:53:14 +0000 (14:53 +0800)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Fri, 22 Jul 2022 00:13:03 +0000 (17:13 -0700)
commit0feb8af0275d196a29e321bedc15319673923cb6
tree72c1afaffa399ff28af20c25f756a111dde664a9
parent57117d7234dadfba2a83615b2a9369f6f2f9914f
Bluetooth: hci_sync: Correct hci_set_event_mask_page_2_sync() event mask

Event HCI_Truncated_Page_Complete should belong to central
and HCI_Peripheral_Page_Response_Timeout should belong to
peripheral, but hci_set_event_mask_page_2_sync() take these
two events for wrong roles, so correct it by this change.

Signed-off-by: Zijun Hu <quic_zijuhu@quicinc.com>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
net/bluetooth/hci_sync.c