summaryrefslogtreecommitdiffstats
path: root/drivers/bluetooth/hci_ll.c
diff options
context:
space:
mode:
authorDave Young <hidave.darkstar@gmail.com>2008-01-10 22:22:52 -0800
committerDavid S. Miller <davem@davemloft.net>2008-01-10 22:22:52 -0800
commitf951375d470c1a20d92c34377991197e6bf17990 (patch)
treec479a1b80c14072a9486214f034078ab6f524471 /drivers/bluetooth/hci_ll.c
parentecd2ebdea350c40e73c00d400d74c8a09c072082 (diff)
downloadlinux-f951375d470c1a20d92c34377991197e6bf17990.tar.gz
linux-f951375d470c1a20d92c34377991197e6bf17990.tar.bz2
linux-f951375d470c1a20d92c34377991197e6bf17990.zip
[BLUETOOTH]: rfcomm tty BUG_ON() code fix
1) In tty.c the BUG_ON at line 115 will never be called, because the the before list_del_init in this same function. 115 BUG_ON(!list_empty(&dev->list)); So move the list_del_init to rfcomm_dev_del 2) The rfcomm_dev_del could be called from diffrent path (rfcomm_tty_hangup/rfcomm_dev_state_change/rfcomm_release_dev), So add another BUG_ON when the rfcomm_dev_del is called more than one time. Signed-off-by: Dave Young <hidave.darkstar@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/bluetooth/hci_ll.c')
0 files changed, 0 insertions, 0 deletions