[wifi-direct-manager] Remove group only when wfd_util_is_remove_group_allowed() retur... 52/78952/2
authorNishant Chaprana <n.chaprana@samsung.com>
Thu, 7 Jul 2016 11:43:44 +0000 (17:13 +0530)
committerNishant Chaprana <n.chaprana@samsung.com>
Mon, 18 Jul 2016 04:37:28 +0000 (10:07 +0530)
commit2e6de2b6ba0e17ee3aeaf565b203d43866449e36
treec8acb4dc4b1c8129c0f8b1cb0c9c8fe9a2619175
parent9f18c423e99428121e04b3f008643ff09b11494b
[wifi-direct-manager] Remove group only when wfd_util_is_remove_group_allowed() returns TRUE.

At time of removing group, the check should be for members and
wfd_util_is_remove_group_allowed() only.
Checking [wfd_group_is_autonomous(group) == FALSE ] would be wrong
because all profile need to remove group when all peers disconnect.

Change-Id: I8cc272b51e3d77ca2d980fcda2558a2540894802
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
packaging/wifi-direct-manager.spec
src/wifi-direct-event.c