diff options
Diffstat (limited to 'net/bluetooth')
| -rw-r--r-- | net/bluetooth/bnep/core.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/bluetooth/bnep/core.c b/net/bluetooth/bnep/core.c index 29b1b220d6cf..ef09c7b3a858 100644 --- a/net/bluetooth/bnep/core.c +++ b/net/bluetooth/bnep/core.c | |||
| @@ -78,7 +78,7 @@ static struct bnep_session *__bnep_get_session(u8 *dst) | |||
| 78 | static void __bnep_link_session(struct bnep_session *s) | 78 | static void __bnep_link_session(struct bnep_session *s) |
| 79 | { | 79 | { |
| 80 | /* It's safe to call __module_get() here because sessions are added | 80 | /* It's safe to call __module_get() here because sessions are added |
| 81 | by the socket layer which has to hold the refference to this module. | 81 | by the socket layer which has to hold the reference to this module. |
| 82 | */ | 82 | */ |
| 83 | __module_get(THIS_MODULE); | 83 | __module_get(THIS_MODULE); |
| 84 | list_add(&s->list, &bnep_session_list); | 84 | list_add(&s->list, &bnep_session_list); |
| @@ -632,7 +632,7 @@ int bnep_del_connection(struct bnep_conndel_req *req) | |||
| 632 | s = __bnep_get_session(req->dst); | 632 | s = __bnep_get_session(req->dst); |
| 633 | if (s) { | 633 | if (s) { |
| 634 | /* Wakeup user-space which is polling for socket errors. | 634 | /* Wakeup user-space which is polling for socket errors. |
| 635 | * This is temporary hack untill we have shutdown in L2CAP */ | 635 | * This is temporary hack until we have shutdown in L2CAP */ |
| 636 | s->sock->sk->sk_err = EUNATCH; | 636 | s->sock->sk->sk_err = EUNATCH; |
| 637 | 637 | ||
| 638 | /* Kill session thread */ | 638 | /* Kill session thread */ |
