AI 144151: am: CL 144150 Fix heap corruption.
  Take mutex in close(), and skip write path after turning bluetooth off.
  Original author: npelly
  Merged from: //branches/cupcake/...

Automated import of CL 144151
2 files changed