]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
bluetooth rfcomm tty: destroy before tty_close()
authorDave Young <hidave.darkstar@gmail.com>
Tue, 5 Feb 2008 11:12:06 +0000 (03:12 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 5 Feb 2008 11:12:06 +0000 (03:12 -0800)
commit93d807401ced2320d0d1e56bf9de099bba5c0424
tree8d9a471779124e7dea089ec59933b20d4c7480f4
parent6e46c8cb3cbfa7bafe78d43a3d57750605a2dfa3
bluetooth rfcomm tty: destroy before tty_close()

rfcomm dev could be deleted in tty_hangup, so we must not call
rfcomm_dev_del again to prevent from destroying rfcomm dev before tty
close.

Signed-off-by: Dave Young <hidave.darkstar@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bluetooth/rfcomm/tty.c