From: Andrei Emeltchenko <andrei.emeltchenko@xxxxxxxxx> Fixes typo in server name --- profiles/audio/a2dp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/profiles/audio/a2dp.c b/profiles/audio/a2dp.c index ad21df3..6a86c19 100644 --- a/profiles/audio/a2dp.c +++ b/profiles/audio/a2dp.c @@ -1418,7 +1418,7 @@ struct a2dp_sep *a2dp_add_sep(struct btd_adapter *adapter, uint8_t type, avdtp_server = find_avdtp_server(avdtp_servers, adapter); if (!avdtp_server) { avdtp_server = avdtp_server_init(adapter); - if (!server) + if (!avdtp_server) return NULL; } -- 2.1.0 -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html