From: Johan Hedberg Date: Thu, 23 Feb 2012 07:52:28 +0000 (+0200) Subject: Bluetooth: mgmt: Fix count parameter in get_connections reply X-Git-Tag: v3.4-rc1~177^2~112^2~52 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=60fc5fb66efa0bcbe028637206ed59df8cd4ac19;p=pandora-kernel.git Bluetooth: mgmt: Fix count parameter in get_connections reply 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 Acked-by: Marcel Holtmann --- Reading git-diff-tree failed