Index: source/ariba/utility/bootstrap/modules/bluetoothsdp/BluetoothSdp.cpp
===================================================================
--- source/ariba/utility/bootstrap/modules/bluetoothsdp/BluetoothSdp.cpp	(revision 5967)
+++ source/ariba/utility/bootstrap/modules/bluetoothsdp/BluetoothSdp.cpp	(revision 6919)
@@ -64,4 +64,7 @@
 namespace utility {
 
+static bdaddr_t bd_addr_any = {{0, 0, 0, 0, 0, 0}};
+static bdaddr_t bd_addr_local = {{0, 0, 0, 0xff, 0xff, 0xff}};
+
 use_logging_cpp(BluetoothSdp);
 OverlayBootstrap* BluetoothSdp::CONNECTION_CHECKER = NULL;
@@ -216,5 +219,5 @@
 	// connect to the local SDP server, register the service record
 	if( sdp_session_ == NULL ){
-		sdp_session_ = sdp_connect(BDADDR_ANY, BDADDR_LOCAL, SDP_RETRY_IF_BUSY);
+		sdp_session_ = sdp_connect(&bd_addr_any, &bd_addr_local, SDP_RETRY_IF_BUSY);
 	}
 
@@ -275,5 +278,5 @@
 
 		bdaddr_t address;
-		uint8_t channel;
+//		uint8_t channel;
 
 		dev_id = hci_get_route(NULL);
@@ -339,5 +342,5 @@
 	char name[256], info1[256], info2[256], info3[256];
 
-	session = sdp_connect(BDADDR_ANY, &target, SDP_RETRY_IF_BUSY);
+	session = sdp_connect(&bd_addr_any, &target, SDP_RETRY_IF_BUSY);
 
 	if (session == NULL) {
@@ -401,5 +404,4 @@
 	 * Returns a string holding the bt adress in human readable form.
 	 */
-	char addr[32] = { 0 };
 	char str[32] = { 0 };
 	ba2str(ba, str);
