diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2010-08-20 14:48:48 +0200 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2010-08-20 14:48:48 +0200 |
commit | 5ffd12ff9f46b8a28977c1fc575c86eac2fdec59 (patch) | |
tree | 3aee3d9036730f0bbf977de75e34ce25cf746c4d /src | |
parent | df5d691c39b0ff41d3d98a01db078f7157eb0250 (diff) |
stk: Fix error messsage from select item method call
Diffstat (limited to 'src')
-rw-r--r-- | src/stk.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -608,11 +608,11 @@ static DBusMessage *stk_select_item(DBusConnection *conn, DBG(""); - if (stk->pending) + if (stk->pending || stk->session_agent) return __ofono_error_busy(msg); - if (stk->session_agent || !menu) - return __ofono_error_busy(msg); + if (!menu) + return __ofono_error_not_supported(msg); if (dbus_message_get_args(msg, NULL, DBUS_TYPE_BYTE, &selection, |