bluetooth: put hci dev after del conn
authorDave Young <hidave.darkstar@gmail.com>
Tue, 19 Feb 2008 04:44:01 +0000 (20:44 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 19 Feb 2008 04:44:01 +0000 (20:44 -0800)
commit0cd63c8089f0f6316df1393c3a93bdbc67ab314d
treec1ce4d8c32439af25bd45cb95376258b429f576a
parent8f789c48448aed74fe1c07af76de8f04adacec7d
bluetooth: put hci dev after del conn

Move hci_dev_put to del_conn to avoid hci dev going away before hci conn.

Signed-off-by: Dave Young <hidave.darkstar@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bluetooth/hci_conn.c
net/bluetooth/hci_sysfs.c