diff options
-rw-r--r-- | drivers/isdn/i4l/isdn_tty.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/isdn/i4l/isdn_tty.c b/drivers/isdn/i4l/isdn_tty.c index f190a99604f0..393633681f49 100644 --- a/drivers/isdn/i4l/isdn_tty.c +++ b/drivers/isdn/i4l/isdn_tty.c | |||
@@ -2359,8 +2359,8 @@ isdn_tty_at_cout(char *msg, modem_info * info) | |||
2359 | 2359 | ||
2360 | /* use queue instead of direct, if online and */ | 2360 | /* use queue instead of direct, if online and */ |
2361 | /* data is in queue or buffer is full */ | 2361 | /* data is in queue or buffer is full */ |
2362 | if ((info->online && tty_buffer_request_room(tty, l) < l) || | 2362 | if (info->online && ((tty_buffer_request_room(tty, l) < l) || |
2363 | (!skb_queue_empty(&dev->drv[info->isdn_driver]->rpqueue[info->isdn_channel]))) { | 2363 | !skb_queue_empty(&dev->drv[info->isdn_driver]->rpqueue[info->isdn_channel]))) { |
2364 | skb = alloc_skb(l, GFP_ATOMIC); | 2364 | skb = alloc_skb(l, GFP_ATOMIC); |
2365 | if (!skb) { | 2365 | if (!skb) { |
2366 | spin_unlock_irqrestore(&info->readlock, flags); | 2366 | spin_unlock_irqrestore(&info->readlock, flags); |