Return-Path: From: Luiz Augusto von Dentz To: linux-bluetooth@vger.kernel.org Subject: [PATCH BlueZ 08/11] ftp: Remove record details Date: Wed, 12 Dec 2012 13:52:13 +0200 Message-Id: <1355313136-7891-8-git-send-email-luiz.dentz@gmail.com> In-Reply-To: <1355313136-7891-1-git-send-email-luiz.dentz@gmail.com> References: <1355313136-7891-1-git-send-email-luiz.dentz@gmail.com> Sender: linux-bluetooth-owner@vger.kernel.org List-ID: From: Luiz Augusto von Dentz Standart service records are already supported by bluetoothd --- obexd/plugins/ftp.c | 45 --------------------------------------------- 1 file changed, 45 deletions(-) diff --git a/obexd/plugins/ftp.c b/obexd/plugins/ftp.c index ff4b761..d53774d 100644 --- a/obexd/plugins/ftp.c +++ b/obexd/plugins/ftp.c @@ -53,47 +53,6 @@ #define LST_TYPE "x-obex/folder-listing" #define CAP_TYPE "x-obex/capability" -#define FTP_CHANNEL 10 -#define FTP_RECORD " \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ - \ -" - static const uint8_t FTP_TARGET[TARGET_SIZE] = { 0xF9, 0xEC, 0x7B, 0xC4, 0x95, 0x3C, 0x11, 0xD2, 0x98, 0x4E, 0x52, 0x54, 0x00, 0xDC, 0x9E, 0x09 }; @@ -519,10 +478,6 @@ void ftp_disconnect(struct obex_session *os, void *user_data) static struct obex_service_driver ftp = { .name = "File Transfer server", .service = OBEX_FTP, - .channel = FTP_CHANNEL, - .port = OBEX_PORT_RANDOM, - .secure = TRUE, - .record = FTP_RECORD, .target = FTP_TARGET, .target_size = TARGET_SIZE, .connect = ftp_connect, -- 1.7.11.7