irda: Fix typo in irda
authorMasanari Iida <standby24x7@gmail.com>
Fri, 13 Jul 2012 07:22:47 +0000 (07:22 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 17 Jul 2012 06:23:52 +0000 (23:23 -0700)
Correct spelling typo in irda.

Signed-off-by: Masanari Iida <standby24x7@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/irda/af_irda.c
net/irda/irlan/irlan_provider.c

index bb14c34776801e7dd43ce13c8552794d89a5c197..bb738c9f91461df7fb3d718a1ed6b771dae33f1a 100644 (file)
@@ -955,7 +955,7 @@ out:
  * The main difference with a "standard" connect is that with IrDA we need
  * to resolve the service name into a TSAP selector (in TCP, port number
  * doesn't have to be resolved).
- * Because of this service name resoltion, we can offer "auto-connect",
+ * Because of this service name resolution, we can offer "auto-connect",
  * where we connect to a service without specifying a destination address.
  *
  * Note : by consulting "errno", the user space caller may learn the cause
index 32dcaac70b0caa9a10dc09a1ed4e90efaf5891ed..4664855222f414d7079168e0f8364f9dc1dee85c 100644 (file)
@@ -296,7 +296,7 @@ void irlan_provider_send_reply(struct irlan_cb *self, int command,
        skb = alloc_skb(IRLAN_MAX_HEADER + IRLAN_CMD_HEADER +
                        /* Bigger param length comes from CMD_GET_MEDIA_CHAR */
                        IRLAN_STRING_PARAMETER_LEN("FILTER_TYPE", "DIRECTED") +
-                       IRLAN_STRING_PARAMETER_LEN("FILTER_TYPE", "BORADCAST") +
+                       IRLAN_STRING_PARAMETER_LEN("FILTER_TYPE", "BROADCAST") +
                        IRLAN_STRING_PARAMETER_LEN("FILTER_TYPE", "MULTICAST") +
                        IRLAN_STRING_PARAMETER_LEN("ACCESS_TYPE", "HOSTED"),
                        GFP_ATOMIC);