btdev: Fix handling of white/resolving list
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Fri, 4 Jun 2021 19:16:23 +0000 (12:16 -0700)
committerAyush Garg <ayush.garg@samsung.com>
Fri, 11 Mar 2022 13:38:35 +0000 (19:08 +0530)
commitc6785fd9bc7d799fbc151cf6812c17a3060670c5
tree7f57be6a9374eb198fc3c23c1016044c7445fdef
parent2b3cad29dd208c6abcc266f16382a2d15b02e8e7
btdev: Fix handling of white/resolving list

le_cig.cis entries was not properly checked which could lead to
overwriting le_wl/le_rl field.

While at it this also makes changes so have proper struct/fields for
le_wl and le_rl so they easier to manage.

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