summaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
Diffstat (limited to 'audio')
-rw-r--r--audio/telephony-maemo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/audio/telephony-maemo.c b/audio/telephony-maemo.c
index 060ce3fa..e4ff5297 100644
--- a/audio/telephony-maemo.c
+++ b/audio/telephony-maemo.c
@@ -1532,7 +1532,7 @@ static void hal_find_device_reply(DBusPendingCall *call, void *user_data)
type = dbus_message_iter_get_arg_type(&sub);
- if (type != DBUS_TYPE_OBJECT_PATH) {
+ if (type != DBUS_TYPE_OBJECT_PATH && type != DBUS_TYPE_STRING) {
error("No hal device with battery capability found");
goto done;
}