summaryrefslogtreecommitdiffstats
path: root/stack/btm
diff options
context:
space:
mode:
authorSrinu Jella <sjella@codeaurora.org>2015-09-07 13:40:07 +0530
committerLinux Build Service Account <lnxbuild@localhost>2015-10-06 03:22:15 -0600
commit0431fc046f77958fab92989f07933c4bb96384bb (patch)
tree69d7dec0a35f80210f6a3f4a6e05bba4c238b038 /stack/btm
parentc6d466c548ac3ba18d3cac5c3903c3ad93317685 (diff)
downloadandroid_system_bt-0431fc046f77958fab92989f07933c4bb96384bb.tar.gz
android_system_bt-0431fc046f77958fab92989f07933c4bb96384bb.tar.bz2
android_system_bt-0431fc046f77958fab92989f07933c4bb96384bb.zip
RFCOMM: Add state check to prevent assert
This patch adds state check in bta_jv_rfcomm_write, to prevent sending data in BTA_JV_ST_NONE state. This would prevent ASSERT in code due to null handle, as handle might have already been set to null during previous closing of rfcomm connection. CRs-Fixed: 909197 Change-Id: Ibc6b1fb7aa6dce9a4acb52d724af3023fad9a9ae
Diffstat (limited to 'stack/btm')
0 files changed, 0 insertions, 0 deletions