ndef: Workaround buggy Nokia BH-505 handover implementation
authorSzymon Janc <szymon.janc@tieto.com>
Wed, 31 Oct 2012 11:22:23 +0000 (12:22 +0100)
committerSamuel Ortiz <sameo@linux.intel.com>
Wed, 14 Nov 2012 10:36:16 +0000 (11:36 +0100)
commit5baa341d76df5f56fa0b759a54455bacdd714670
treed69e76cf139b06f59d8eeefd476edcc8dad0d39a
parent2a42d384548d177877aa2f8060994ec5d2bc965a
ndef: Workaround buggy Nokia BH-505 handover implementation

According to BT Core Specification 4.0 length field in OOB EIR contains
the length of the entire OOB data block including the length field
itself.

Some Nokia BH-505 devices reports OOB EIR length without length field
size. Correct size before sending EIR to agent.
src/ndef.c