aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorThadeu Lima de Souza Cascardo <cascardo@holoscopio.com>2009-10-16 09:20:49 -0400
committerJiri Kosina <jkosina@suse.cz>2009-12-04 09:39:48 -0500
commit94e2bd688820aed72b4f8092f88c2ccf64e003de (patch)
tree988de1817ec5ebe40dc6f2901eb86987876c517f /net
parent65cb76baa1058d17d51ce948b697cdbd5dc97421 (diff)
tree-wide: fix some typos and punctuation in comments
fix some typos and punctuation in comments Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@holoscopio.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'net')
-rw-r--r--net/bluetooth/bnep/core.c4
-rw-r--r--net/sctp/sm_statefuns.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/net/bluetooth/bnep/core.c b/net/bluetooth/bnep/core.c
index cafe9f54d841..9ac0497decb8 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)
78static void __bnep_link_session(struct bnep_session *s) 78static 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);
@@ -629,7 +629,7 @@ int bnep_del_connection(struct bnep_conndel_req *req)
629 s = __bnep_get_session(req->dst); 629 s = __bnep_get_session(req->dst);
630 if (s) { 630 if (s) {
631 /* Wakeup user-space which is polling for socket errors. 631 /* Wakeup user-space which is polling for socket errors.
632 * This is temporary hack untill we have shutdown in L2CAP */ 632 * This is temporary hack until we have shutdown in L2CAP */
633 s->sock->sk->sk_err = EUNATCH; 633 s->sock->sk->sk_err = EUNATCH;
634 634
635 /* Kill session thread */ 635 /* Kill session thread */
diff --git a/net/sctp/sm_statefuns.c b/net/sctp/sm_statefuns.c
index c8fae1983dd1..ba2f66d5f0cd 100644
--- a/net/sctp/sm_statefuns.c
+++ b/net/sctp/sm_statefuns.c
@@ -3569,7 +3569,7 @@ sctp_disposition_t sctp_sf_do_asconf(const struct sctp_endpoint *ep,
3569 * To do this properly, we'll set the destination address of the chunk 3569 * To do this properly, we'll set the destination address of the chunk
3570 * and at the transmit time, will try look up the transport to use. 3570 * and at the transmit time, will try look up the transport to use.
3571 * Since ASCONFs may be bundled, the correct transport may not be 3571 * Since ASCONFs may be bundled, the correct transport may not be
3572 * created untill we process the entire packet, thus this workaround. 3572 * created until we process the entire packet, thus this workaround.
3573 */ 3573 */
3574 asconf_ack->dest = chunk->source; 3574 asconf_ack->dest = chunk->source;
3575 sctp_add_cmd_sf(commands, SCTP_CMD_REPLY, SCTP_CHUNK(asconf_ack)); 3575 sctp_add_cmd_sf(commands, SCTP_CMD_REPLY, SCTP_CHUNK(asconf_ack));