bluetooth: Fix property reply handling for hfgw
authorMikel Astiz <mikel.astiz@bmw-carit.de>
Wed, 23 Nov 2011 16:08:11 +0000 (17:08 +0100)
committerColin Guthrie <colin@mageia.org>
Sun, 27 Nov 2011 14:54:01 +0000 (14:54 +0000)
src/modules/bluetooth/bluetooth-util.c

index 2e4d93c..c5befe3 100644 (file)
@@ -484,7 +484,7 @@ static void get_properties_reply(DBusPendingCall *pending, void *userdata) {
                     goto finish;
 
             }  else if (dbus_message_has_interface(p->message, "org.bluez.HandsfreeGateway")) {
-                if (parse_audio_property(y, &d->hfgw_state, &arg_i) < 0)
+                if (parse_audio_property(y, &d->hfgw_state, &dict_i) < 0)
                     goto finish;
 
             }