Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 277720
b: refs/heads/master
c: 25df084
h: refs/heads/master
v: v3
  • Loading branch information
David Herrmann authored and Gustavo F. Padovan committed Nov 7, 2011
1 parent 5ff281c commit 56fe3ca
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 7f103a0d23d2778b86cea407c1992522d41ead81
refs/heads/master: 25df0845e054f70a8735ee0184739472d8a573c9
4 changes: 2 additions & 2 deletions trunk/net/bluetooth/hidp/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,6 @@ static struct hidp_session *__hidp_get_session(bdaddr_t *bdaddr)

static void __hidp_link_session(struct hidp_session *session)
{
__module_get(THIS_MODULE);
list_add(&session->list, &hidp_session_list);
}

Expand All @@ -103,7 +102,6 @@ static void __hidp_unlink_session(struct hidp_session *session)
hci_conn_put_device(session->conn);

list_del(&session->list);
module_put(THIS_MODULE);
}

static void __hidp_copy_session(struct hidp_session *session, struct hidp_conninfo *ci)
Expand Down Expand Up @@ -703,6 +701,7 @@ static int hidp_session(void *arg)

BT_DBG("session %p", session);

__module_get(THIS_MODULE);
set_user_nice(current, -15);

init_waitqueue_entry(&ctrl_wait, current);
Expand Down Expand Up @@ -781,6 +780,7 @@ static int hidp_session(void *arg)

kfree(session->rd_data);
kfree(session);
module_put_and_exit(0);
return 0;
}

Expand Down

0 comments on commit 56fe3ca

Please sign in to comment.