Set LE scanning mode to true only in case of success 08/41808/1
authorAnupam <anupam.r@samsung.com>
Wed, 17 Jun 2015 14:32:15 +0000 (10:32 -0400)
committerAnupam <anupam.r@samsung.com>
Wed, 17 Jun 2015 14:41:36 +0000 (10:41 -0400)
commit4e2c0b24215cf365d8bf4a331d568fea429a3f7c
treeec1eacde8f481a223f28e72c7244aeabde1814cd
parent58266d84210161141befe39e1a6f4a79fdfc5b96
Set LE scanning mode to true only in case of success

'is_scanning' status of LE scanner should be set only
when LE Scan is successfully triggered.In case, adapter proxy
fetch is failed or LE Scan is not triggered successfully,
scanning status of particular scanner should remain FALSE,
which can save unneccessary processing in _bt_stop_le_scan method.

Change-Id: I34ce0f3a3eaca50cd3233468dde705d32d6f074e
Signed-off-by: Anupam <anupam.r@samsung.com>
bt-service/bt-service-adapter-le.c