OSDN Git Service

core/advertising: Fix using wrong instance id
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Fri, 26 Jun 2015 11:52:22 +0000 (14:52 +0300)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Fri, 26 Jun 2015 11:52:22 +0000 (14:52 +0300)
commitc73c1002331b2c0de0eaf555b5f1d05149f9a3b0
tree7409e4b8e31e7455006c6b778764e0a42a2620e7
parentac1e243a78040b056a79da2d194a648faca717e8
core/advertising: Fix using wrong instance id

The instance id shall be limited to the number of instance the kernel
support, and since this will probably be quite small the ids should be
reused once the client unregistered.
src/advertising.c