btdev: Fix order of BT_HCI_EVT_LE_ADV_SET_TERM
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Wed, 18 Aug 2021 20:45:05 +0000 (13:45 -0700)
committerAyush Garg <ayush.garg@samsung.com>
Fri, 11 Mar 2022 13:38:36 +0000 (19:08 +0530)
commita7c2f4a69a5f0e43324526696e09474a294bc890
tree37dc0a25691fa9bd5725b9a85dd821769074c41c
parentcfb0bf88310d5052b40da452a25924386b7c19b2
btdev: Fix order of BT_HCI_EVT_LE_ADV_SET_TERM

BT_HCI_EVT_LE_ADV_SET_TERM shall come after
BT_HCI_EVT_LE_ENHANCED_CONN_COMPLETE otherwise the host doesn't know
the connection handle.

Signed-off-by: Anuj Jain <anuj01.jain@samsung.com>
Signed-off-by: Ayush Garg <ayush.garg@samsung.com>
emulator/btdev.c