Bluetooth: Avoid sending the packet after diconnection

Check the sk_state before queuing the skb to the lower
layers.If the state is BT_DISCONN then it may lead to
crash as access to the skb is invalid.

Change-Id: I0c55647933e795c895615dcd91709513b2e697fe
Signed-off-by: Bhasker Neti <bneti@codeaurora.org>
CRs-fixed: 508205
msm: audio: qdsp6v2: Fix for kernel crash during stability

- Userspace calling AYSN_READ during flush, READ_DONE ack for
  this is coming after FLUSH_DONE which is hitting BUG_ON as
  buffers are removed from in_queue/out_queue during flush.
- Fix is to avoid sending READ requests to DSP until flush
  is complete.

CRs-Fixed: 485288
Change-Id: Ia2a64471a3507b3f5565b695c40cc6dd9081930d
Signed-off-by: Deepa Madiregama <dmadireg@codeaurora.org>
Merge "msm: audio: qdsp6v2: Fix for kernel crash during stability"
Merge "Bluetooth: Avoid sending the packet after diconnection"