aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorGianluca Anzolin <[email protected]>2013-07-29 17:08:10 +0200
committerGustavo Padovan <[email protected]>2013-08-21 16:47:06 +0200
commit54b926a1434e817ca84cb090f36b56763e192470 (patch)
tree4ab276833fd667f8252925f14bb03dd61f5e1903 /tools/perf/scripts/python
parentebe937f74b8a72cf3ceeae5c2194a160bb092901 (diff)
Bluetooth: Move the tty initialization and cleanup out of open/close
Move the tty_struct initialization from rfcomm_tty_open() to rfcomm_tty_install() and do the same for the cleanup moving the code from rfcomm_tty_close() to rfcomm_tty_cleanup(). Add also extra error handling in rfcomm_tty_install() because, unlike .open()/.close(), .cleanup() is not called if .install() fails. Signed-off-by: Gianluca Anzolin <[email protected]> Reviewed-by: Peter Hurley <[email protected]> Signed-off-by: Gustavo Padovan <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions