gatt: Omit MTU if not connected
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Mon, 29 Nov 2021 17:59:42 +0000 (09:59 -0800)
committerAyush Garg <ayush.garg@samsung.com>
Fri, 11 Mar 2022 13:38:38 +0000 (19:08 +0530)
commitfcae550a11dc9a1826f55fb3efb279e9190fb852
treea54ef6d50bcdfb24e2f7f490ccdad7e0f333c186
parentf414e5aa6cb28188c4f0d34f4c0627710c7270c6
gatt: Omit MTU if not connected

If not connected there is no reason to expose the MTU as that only
valid while connected.

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