Fix the crash when stopping LE discovery 43/252743/1
authorDoHyun Pyun <dh79.pyun@samsung.com>
Tue, 2 Feb 2021 06:02:02 +0000 (15:02 +0900)
committerDoHyun Pyun <dh79.pyun@samsung.com>
Tue, 2 Feb 2021 06:02:02 +0000 (15:02 +0900)
commit2b4917cc0780194d9cad2768bd5a4f32022a8388
tree6ffb750afe48e3a5b04fe6c4777a1e484ff2c54e
parent6b12b07e143a8f48eafee8608fa0d0414055e377
Fix the crash when stopping LE discovery

This patchset combines two upstream commits.
If we upgrade bluez version, this issue will be resolved.
But for the product issue, we make the hotfix patchset.

------------------------------------------------
commit b94e7fc4e267edbae5359a3efb69b14575c6ca3b
Author: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date:   Thu Jun 11 10:26:57 2020 -0700

    adapter: Fix passing wrong pointer to stop discovery
------------------------------------------------
commit 9dd6df753a0a7e09e09cea0fdc0bc056389624d4
Author: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date:   Mon Jun 8 14:55:57 2020 -0700

    adapter: Fix possible crash when stopping discovery
-----------------------------------------------

Change-Id: I5c9d5fa98e9a1201e2547fd674da851a4e82edab
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
src/adapter.c