summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/stk.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/stk.c b/src/stk.c
index ce71075e..dd9f4533 100644
--- a/src/stk.c
+++ b/src/stk.c
@@ -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,