Bluetooth: NULL callback access avoidance

While initializing for firmware we give the
callback for SUCCESS or FAILURE but when the
callback pointer itself is NULL we can not
send the FAILURE msg using this pointer. We
should only set the return value to ERROR.This
is conrner case and it is crashing in BT on\off
SnS.

Change-Id: I3dcbcd64b56bc60fcb43d7b9266a7edc029edaad
CRs-Fixed: 640408
1 file changed
tree: 06b7590f063ea488de005d767a091efc20f73f4e
  1. libbt-vendor/
  2. Android.mk
  3. CleanSpec.mk