Fix crash in reader mode.

The connect callback wasn't cleared in error cases,
which could cause spurious callbacks including data
that used to be allocated on the stack, and has been
freed by now.

Also, always add the -3a tech for any IsoDep target,
even if the remote device has the P2P bit set.

Bug: 10360259
Change-Id: I73141c4a1106f66ff89c6b1c53c4977e9cb78fa1
2 files changed
tree: cae88aa478e403ef76a8c4aebc5ab9c093e74941
  1. Android.mk
  2. CleanSpec.mk
  3. Linux_x86/
  4. MODULE_LICENSE_APACHE2
  5. NOTICE
  6. inc/
  7. src/