summaryrefslogtreecommitdiff
path: root/crypto/cast6_generic.c
diff options
context:
space:
mode:
authorGianluca Anzolin <gianluca@sottospazio.it>2013-07-29 19:08:10 +0400
committerGustavo Padovan <gustavo.padovan@collabora.co.uk>2013-08-21 18:47:06 +0400
commit54b926a1434e817ca84cb090f36b56763e192470 (patch)
tree4ab276833fd667f8252925f14bb03dd61f5e1903 /crypto/cast6_generic.c
parentebe937f74b8a72cf3ceeae5c2194a160bb092901 (diff)
downloadlinux-54b926a1434e817ca84cb090f36b56763e192470.tar.xz
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 <gianluca@sottospazio.it> Reviewed-by: Peter Hurley <peter@hurleysoftware.com> Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
Diffstat (limited to 'crypto/cast6_generic.c')
0 files changed, 0 insertions, 0 deletions