Fix handling logic of pending request 74/212674/1
authorWootak Jung <wootak.jung@samsung.com>
Mon, 26 Aug 2019 04:58:35 +0000 (13:58 +0900)
committerWootak Jung <wootak.jung@samsung.com>
Mon, 26 Aug 2019 04:58:35 +0000 (13:58 +0900)
commit2ec985ec2406b7077f864185f05417196bd35645
tree037065962652ec8f725ce5aa58eba486a8c0e40b
parent1e54faa620018a0c55148fb91d431c5b672ee026
Fix handling logic of pending request

If the list is removed during 'for' statement, 'list->next' also set NULL.
 Fix the logic to store 'list->next' in advance.

Change-Id: Iae4bb280f68d770b0528bbc5b9bbd38fb88f4884
bt-service-adaptation/services/adapter/bt-service-core-adapter-le.c
bt-service-adaptation/services/adapter/bt-service-core-adapter.c
bt-service-adaptation/services/audio/bt-service-audio.c
bt-service-adaptation/services/device/bt-service-bonded-device.c
bt-service-adaptation/services/device/bt-service-core-device.c
bt-service-adaptation/services/gatt/bt-service-gatt.c
bt-service-adaptation/services/health/bt-service-hdp.c