Bluetooth: mgmt: Fix count parameter in get_connections reply
authorJohan Hedberg <johan.hedberg@intel.com>
Thu, 23 Feb 2012 07:52:28 +0000 (09:52 +0200)
committerJohan Hedberg <johan.hedberg@intel.com>
Thu, 23 Feb 2012 11:07:02 +0000 (13:07 +0200)
This patch fixes the count parameter in the Get Connections reply
message. We cannot know the right number until iterating through all
connections so set the parameter value only after the loop.

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Acked-by: Marcel Holtmann <marcel@holtmann.org>

No differences found