>From 0318981c54a3396a0672b8fd2a48d4014d9aa59e Mon Sep 17 00:00:00 2001 From: Bastien Nocera <hadess@xxxxxxxxxx> Date: Fri, 10 Oct 2008 16:31:03 +0100 Subject: [PATCH] Add OUI check for the PS3 BD remote As per Marcel's request --- wizard/main.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/wizard/main.c b/wizard/main.c index 860c3b1..83f2491 100644 --- a/wizard/main.c +++ b/wizard/main.c @@ -209,7 +209,8 @@ static void prepare_callback(GtkWidget *assistant, path = NULL; /* Sony PlayStation 3 Remote Control */ - if (g_str_equal(target_name, "BD Remote Control") == TRUE) + if (g_str_has_prefix(target_address, "00:19:C1:") != FALSE && + g_str_equal(target_name, "BD Remote Control") == TRUE) path = NULL; bluetooth_client_create_device(client, target_address, -- 1.6.0.1