adapter: Fix allowing multiple adapters with the same address
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Fri, 11 Feb 2022 22:00:51 +0000 (14:00 -0800)
committerAyush Garg <ayush.garg@samsung.com>
Mon, 15 May 2023 09:25:53 +0000 (14:55 +0530)
commit378c13b523bb55233fd125b1132c293c80ef6088
tree644f70150480541709516e7298363be7c0fd39bb
parent4a5aa8609acb32b078b123559b05b4e1fc294ba8
adapter: Fix allowing multiple adapters with the same address

The bdaddr of an adapter is used for its unique storage path so having
multiple adapters with the same address would likely cause problems
with its storage as they would be shared.

Signed-off-by: Manika Shrivastava <manika.sh@samsung.com>
Signed-off-by: Ayush Garg <ayush.garg@samsung.com>
src/adapter.c