commit | 954a249764bf8d1874fd0e0ba39dfc8d8a5f1619 | [log] [tgz] |
---|---|---|
author | Nitin Arora <niarora@codeaurora.org> | Thu Apr 30 17:20:27 2015 -0700 |
committer | Andre Eisenbach <eisenbach@google.com> | Wed May 06 21:47:42 2015 -0700 |
tree | 5e52eb3516ef3c732b6e9b38598da993ff9ed969 | |
parent | a4dc5bf8e3cd3e41c589534ba887ac62d20a8990 [diff] |
Fix allocation of instance ID for LE services Defers the incrementing of the total services count after the allocation of the instance ID for the service. If the increment is not deferred, the current service is compared with its own instance in the cached service list while allocating the instance ID. This leads to an incorrect instance ID being allocated for the service. Change-Id: I547888ae0f7015cfdb9b1a995373523699642a6c