diff options
author | Dave Young <hidave.darkstar@gmail.com> | 2008-02-19 07:44:01 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-02-19 07:44:01 +0300 |
commit | 0cd63c8089f0f6316df1393c3a93bdbc67ab314d (patch) | |
tree | c1ce4d8c32439af25bd45cb95376258b429f576a /net/bluetooth/hci_conn.c | |
parent | 8f789c48448aed74fe1c07af76de8f04adacec7d (diff) | |
download | linux-0cd63c8089f0f6316df1393c3a93bdbc67ab314d.tar.xz |
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>
Diffstat (limited to 'net/bluetooth/hci_conn.c')
-rw-r--r-- | net/bluetooth/hci_conn.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/net/bluetooth/hci_conn.c b/net/bluetooth/hci_conn.c index 5fc7be206f62..f8880261da0e 100644 --- a/net/bluetooth/hci_conn.c +++ b/net/bluetooth/hci_conn.c @@ -260,7 +260,6 @@ int hci_conn_del(struct hci_conn *conn) tasklet_enable(&hdev->tx_task); skb_queue_purge(&conn->data_q); hci_conn_del_sysfs(conn); - hci_dev_put(hdev); return 0; } |