Commit: 2cd067b8b74c34a76ec08d2ccf3396fa9d24e838
Parent: d18cb97bb5cada101a5786d34241508d85227ba4
Author: Inga Stotland <inga.stotland@intel.com>
Committer: Brian Gix <brian.gix@intel.com>
Date: 2020-05-17 18:12:20
Tree: 680438345298e99612a5f6816a9728c4f35d3912

mesh: Fix segfault caused by re-enabling of HCI controller This fixes the crash that occurs when a controller used by bluetooth-meshd is removed and then added back again. Also, correctly restart scanning when the controller is re-enabled. Backtrace: 0x00005618e754d040 in ?? () 0x00005618e6e12d9a in io_ready_callback () at mesh/mesh.c:174 0x00005618e6e3d2c8 in l_queue_foreach () at ell/queue.c:441 0x00005618e6e37927 in request_complete () at src/shared/mgmt.c:261

Diffstat

M mesh/mesh-io-generic.c | 135 ++++++++++++++++++++++++++++++++++++++++- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
M mesh/mesh.c | 9 ++++++++-

2 files changed, 87 insertions(+), 57 deletions(-)

View Full Diff | Patch