summaryrefslogtreecommitdiff
path: root/profiles/audio/a2dp.c
diff options
context:
space:
mode:
Diffstat (limited to 'profiles/audio/a2dp.c')
-rw-r--r--profiles/audio/a2dp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/profiles/audio/a2dp.c b/profiles/audio/a2dp.c
index 4ec99278a..6e05db103 100644
--- a/profiles/audio/a2dp.c
+++ b/profiles/audio/a2dp.c
@@ -2324,7 +2324,7 @@ static bool a2dp_server_listen(struct a2dp_server *server)
if (server->io)
return true;
- if (main_opts.mps == MPS_OFF)
+ if (btd_opts.mps == MPS_OFF)
mode = BT_IO_MODE_BASIC;
else
mode = BT_IO_MODE_STREAMING;