diff --git a/src/comm/BluetoothLink.cc b/src/comm/BluetoothLink.cc
index c5a019acd1d74bbd21cb2d6f970365f9d993b5b1..2ffe1e7258637458732bf6879ffe0c7774605c94 100644
--- a/src/comm/BluetoothLink.cc
+++ b/src/comm/BluetoothLink.cc
@@ -31,6 +31,7 @@
 
 BluetoothLink::BluetoothLink(SharedLinkConfigurationPointer& config)
     : LinkInterface(config)
+    , _config(qobject_cast<BluetoothConfiguration*>(config.data()))
     , _connectState(false)
     , _targetSocket(NULL)
 #ifdef __ios__