mesh: Start link establishment timer of 60 sec 14/221714/1
authorPrathyusha N <prathyusha.n@samsung.com>
Fri, 6 Dec 2019 04:08:39 +0000 (09:38 +0530)
committerAbhay Agarwal <ay.agarwal@samsung.com>
Tue, 7 Jan 2020 05:13:15 +0000 (10:43 +0530)
commit8a48536c63b560128472f31dd42e6dba92c95dc3
tree2915f9542e7f051371b8939d8db39aed294c264e
parenta73547ed90cd327ee7b1ade5475fcb57878e75aa
mesh: Start link establishment timer of 60 sec

5.3.2 of Mesh Profile Bluetooth specification:
To open a link, the provisioner shall start the link establishment
timer, set to 60 seconds, and then shall start sending Link Open
messages.

On timeout, close indication will be sent. Provisioner cancels the
Link Establishment timer, when the link is open i.e. in pb_adv_tx().

Change-Id: I7e39904ef6eb85e18f6675a3de8d02a818d16146
Signed-off-by: Abhay Agarwal <ay.agarwal@samsung.com>
mesh/pb-adv.c