OSDN Git Service

core/profile: Fix MNS record version
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Wed, 9 Oct 2013 11:11:39 +0000 (14:11 +0300)
committerJohan Hedberg <johan.hedberg@intel.com>
Wed, 9 Oct 2013 15:37:39 +0000 (17:37 +0200)
To be able to use OBEX over L2CAP the version number should be at least
0x102, in addition to that ERTM mode should be used to comply to
GOEP 2.0.

src/profile.c

index accd007..d8cbe6a 100644 (file)
@@ -1978,9 +1978,10 @@ static struct default_settings {
                .name           = "Message Notification",
                .channel        = MNS_DEFAULT_CHANNEL,
                .psm            = BTD_PROFILE_PSM_AUTO,
+               .mode           = BT_IO_MODE_ERTM,
                .authorize      = true,
                .get_record     = get_mns_record,
-               .version        = 0x0100
+               .version        = 0x0102
        },
 };