Fix memory leak.

Found when using reader mode APIs: control is accidentally
granted to the HAL, causing us to leak command buffers.

Also:
- Prevent multiple calls to NFC_Deactivate()
- Proper handling of congestion in P2P

Bug: 10360259
Change-Id: Ia52a948f46f8668cde5b135bd073f175cdd434f5
5 files changed
tree: 5a03d7e0a8e4cdfd78b44eebf6a6415c469678ec
  1. halimpl/
  2. src/
  3. Android.mk
  4. CleanSpec.mk