]> code.delx.au - pulseaudio/commitdiff
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 2e4d93c8c27694211e0a7b3b5dc1f3ca7189ccef..c5befe35a9cd8de797ba94824de74ef93b3d07eb 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;
 
             }