Fix "g_variant_get" API usage error
[platform/core/connectivity/bluetooth-frwk.git] / bt-api / bt-event-handler.c
index 7bda552..6e8f97d 100644 (file)
@@ -1058,7 +1058,7 @@ void __bt_device_event_filter(GDBusConnection *connection,
                BT_DBG("BT_LE_DATA_LENGTH_CHANGED");
 
                g_variant_get(parameters, "(i&sqqqq)", &result, &address,
-                               tx_octets, tx_time, rx_octets, rx_time);
+                               &tx_octets, &tx_time, &rx_octets, &rx_time);
 
                params.max_tx_octets = tx_octets;
                params.max_tx_time = tx_time;