Bluetooth: Enforce BT state check during GATT operations.

Enforce BT state check when BLE Apps call into GATT, to handle
scenarios in which delayed call from BLE App to disconnect/close
comes after the BT is OFF. This would prevent bluetooth crash in
such scenarios.

Change-Id: I7bf501abd023e478d25cbe6ee861dfc50eff05db
CRs-fixed: 960933
1 file changed