client/gatt: Fix using atoi
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Mon, 8 Nov 2021 19:15:44 +0000 (11:15 -0800)
committerAyush Garg <ayush.garg@samsung.com>
Fri, 11 Mar 2022 13:38:37 +0000 (19:08 +0530)
commitb306473cb5f0b9fb33f0d7a66c66c62d1fb0ee65
tree6036ed6f2591c067159fe80c82f1c7297fa6c8e8
parentb196ca51f0ebb98e1c5a19e25622a0f42b08ca6c
client/gatt: Fix using atoi

atoi doesn't support values entered in hexadecimal (0x...) which is
likely the prefered format for the likes of handles, etc, so this
replaces the uses of atoi with strtol.

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