summaryrefslogtreecommitdiffstats
path: root/stack/l2cap/l2c_utils.c
diff options
context:
space:
mode:
authorSharvil Nanavati <sharvil@google.com>2014-08-22 13:44:24 -0700
committerAndre Eisenbach <eisenbach@google.com>2015-03-16 16:51:29 -0700
commit284440f0c9f9fe15b162e37ef2bf6af439407447 (patch)
tree38ba15cc1643021d721b34c8b2eaeedfcf73fc67 /stack/l2cap/l2c_utils.c
parent3b72a14c2515c1169d5501ada5499cf232fc643b (diff)
downloadandroid_system_bt-284440f0c9f9fe15b162e37ef2bf6af439407447.tar.gz
android_system_bt-284440f0c9f9fe15b162e37ef2bf6af439407447.tar.bz2
android_system_bt-284440f0c9f9fe15b162e37ef2bf6af439407447.zip
Refactor RFCOMM code; also fixes a random-disconnect / performance bug.
The majority of this change is just style cleanup and eliminating unnecessary code. There was a bug in the code where, if an entire data buffer gets successfully written to the app, the rest of the queue is not drained and the connection may get dropped. This bug came about due to an early function exit from a switch statement instead of breaking out of the switch.
Diffstat (limited to 'stack/l2cap/l2c_utils.c')
0 files changed, 0 insertions, 0 deletions