summaryrefslogtreecommitdiffstats
path: root/audio/avdtp.c
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@nokia.com>2007-12-07 08:15:57 +0000
committerJohan Hedberg <johan.hedberg@nokia.com>2007-12-07 08:15:57 +0000
commit1b2f232ee7f343178d90dc194a773cf45f26a84b (patch)
tree80baaabb0137948e7abb995f3ecf6c6e8ad94983 /audio/avdtp.c
parent29d3944a4099800ed3c27e3389acc5c7eb326805 (diff)
Minor locality issue
Diffstat (limited to 'audio/avdtp.c')
-rw-r--r--audio/avdtp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/audio/avdtp.c b/audio/avdtp.c
index 955576b7..d5433452 100644
--- a/audio/avdtp.c
+++ b/audio/avdtp.c
@@ -1812,12 +1812,12 @@ static gboolean avdtp_discover_resp(struct avdtp *session,
struct discover_resp *resp, int size)
{
int sep_count, i, isize = sizeof(struct seid_info);
- struct avdtp_stream *stream;
sep_count = (size - sizeof(struct avdtp_header)) / isize;
for (i = 0; i < sep_count; i++) {
struct avdtp_remote_sep *sep;
+ struct avdtp_stream *stream;
struct seid_req req;
int ret;