+3
−40
Loading
The current HCI reset function in hci_core.c duplicates most of the work done by hci_dev_close_sync(), and doesn't handle LE, advertising or discovery. Instead of porting these to hci_dev_do_reset(), directly call the close/open functions from hci_sync to reset the hdev. MGMT now notifies when a user performs a reset. Suggested-by:Luiz Augusto von Dentz <luiz.von.dentz@intel.com> Signed-off-by:
Heitor Alves de Siqueira <halves@igalia.com> Signed-off-by:
Luiz Augusto von Dentz <luiz.von.dentz@intel.com>