]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - net/irda/iriap_event.c
[NET_SCHED]: sch_ingress: remove netfilter support
[linux-2.6-omap-h63xx.git] / net / irda / iriap_event.c
index da17395df05adab0dab896b9e64f59ff1d4f62ab..8fb9d7277ca866b8aa6b944b2b0be6e8b14672f0 100644 (file)
@@ -18,7 +18,7 @@
  *     published by the Free Software Foundation; either version 2 of
  *     the License, or (at your option) any later version.
  *
- *     Neither Dag Brattli nor University of Tromsø admit liability nor
+ *     Neither Dag Brattli nor University of Tromsø admit liability nor
  *     provide warranty for any of this software. This material is
  *     provided "AS-IS" and at no charge.
  *
@@ -365,7 +365,7 @@ static void state_r_disconnect(struct iriap_cb *self, IRIAP_EVENT event,
 
        switch (event) {
        case IAP_LM_CONNECT_INDICATION:
-               tx_skb = alloc_skb(64, GFP_ATOMIC);
+               tx_skb = alloc_skb(LMP_MAX_HEADER, GFP_ATOMIC);
                if (tx_skb == NULL) {
                        IRDA_WARNING("%s: unable to malloc!\n", __FUNCTION__);
                        return;