linux 2.6.16.38 w/ vs2.0.3-rc1
[linux-2.6.git] / net / irda / ircomm / ircomm_param.c
index a39f573..6009bab 100644 (file)
@@ -121,7 +121,7 @@ int ircomm_param_request(struct ircomm_tty_cb *self, __u8 pi, int flush)
 
        skb = self->ctrl_skb;   
        if (!skb) {
-               skb = alloc_skb(256, GFP_ATOMIC);
+               skb = dev_alloc_skb(256);
                if (!skb) {
                        spin_unlock_irqrestore(&self->spinlock, flags);
                        return -ENOMEM;