summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/modules/bluetooth/module-bluetooth-discover.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/bluetooth/module-bluetooth-discover.c b/src/modules/bluetooth/module-bluetooth-discover.c
index 36c0a35e..ddf944a1 100644
--- a/src/modules/bluetooth/module-bluetooth-discover.c
+++ b/src/modules/bluetooth/module-bluetooth-discover.c
@@ -94,7 +94,7 @@ static void module_free(struct module *m) {
static struct module* module_find(struct device *d, const char *profile) {
struct module *m;
- for (m = d->module_list; d; d = d->next)
+ for (m = d->module_list; m; m = m->next)
if (pa_streq(m->profile, profile))
return m;