diff options
author | Olivier Guiter <olivier.guiter@linux.intel.com> | 2013-02-11 15:33:52 +0100 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2013-02-12 20:12:07 +0100 |
commit | f788c7e9cf861b9316b0f152252f64368492ffa4 (patch) | |
tree | 013c8b78d46de37a6a40c8a86e535e9d49d57081 /src/ndef.c | |
parent | c23d40794742574f0bc632d8c82b7dc5487a7455 (diff) | |
download | neard-f788c7e9cf861b9316b0f152252f64368492ffa4.tar.gz neard-f788c7e9cf861b9316b0f152252f64368492ffa4.tar.bz2 neard-f788c7e9cf861b9316b0f152252f64368492ffa4.zip |
ndef: Do not build a reply to handover select messages
Handover select frames must not be replied to.
This fixes the following bt-handover error:
"ERROR:dbus.connection:Exception in handler for D-Bus signal"
Diffstat (limited to 'src/ndef.c')
-rw-r--r-- | src/ndef.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1427,7 +1427,7 @@ parse_mime_type(struct near_ndef_record *record, uint8_t *ndef_data, } else { err = __near_bluetooth_parse_oob_record(&data, &mime->handover.properties, action); - if (err == 0 && reply != NULL) { + if (err == 0 && reply != NULL && action == FALSE) { *reply = near_ndef_prepare_handover_record("Hs", record, NEAR_CARRIER_BLUETOOTH, NULL); if (*reply == NULL) |