Fix: GATT connect Failure if Adv. enabled on slot 0 72/242172/2
authorhimanshu <h.himanshu@samsung.com>
Mon, 24 Aug 2020 17:11:05 +0000 (22:41 +0530)
committerhimanshu <h.himanshu@samsung.com>
Tue, 25 Aug 2020 12:55:53 +0000 (18:25 +0530)
commit806e4173ab5ff5602b97e08399f458e913195141
treea62f11b1427b16f55ca5b37230972299bba34715
parentd328f483f276c68ac2a20a0ff6f2a503cd9e2ae3
Fix: GATT connect Failure if Adv. enabled on slot 0

This patch fix the issue of gatt connect call,
failure if advertising is running on slot 0.
If advertising is running on slot 0, the kernel
proceeds to initiate connection as a slave
in form of directed advertising.

The advertising should be hold and reinitiated
in such case.

Change-Id: Id7ba7df82aaabc25da0250b63ebaede5d33a0b96
Signed-off-by: himanshu <h.himanshu@samsung.com>
bt-oal/bluez_hal/src/bt-hal-gatt-client.c