diff options
author | Gustavo F. Padovan <padovan@profusion.mobi> | 2010-12-16 15:58:07 -0200 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@nokia.com> | 2010-12-16 21:45:43 +0200 |
commit | 33249f80e69ab30aca70c647199cb88ca58e1bad (patch) | |
tree | 5fb9c2826455a59837e299bb7f651877cd600ba9 /audio/gateway.c | |
parent | ea30b84b2349c01175ed8700e206bca1e019a635 (diff) | |
download | bluez-33249f80e69ab30aca70c647199cb88ca58e1bad.tar.gz |
Add btd_error_agent_not_available()
Diffstat (limited to 'audio/gateway.c')
-rw-r--r-- | audio/gateway.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/audio/gateway.c b/audio/gateway.c index 655047d2d..43a4b0218 100644 --- a/audio/gateway.c +++ b/audio/gateway.c @@ -369,8 +369,7 @@ static DBusMessage *ag_connect(DBusConnection *conn, DBusMessage *msg, int err; if (!gw->agent) - return g_dbus_create_error(msg, ERROR_INTERFACE - ".Failed", "Agent not assigned"); + return btd_error_agent_not_available(msg); err = get_records(au_dev); if (err < 0) |