diff options
Diffstat (limited to 'net/irda')
-rw-r--r-- | net/irda/irnet/irnet_ppp.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/irda/irnet/irnet_ppp.c b/net/irda/irnet/irnet_ppp.c index 156020d138b5..7c22c126f0ea 100644 --- a/net/irda/irnet/irnet_ppp.c +++ b/net/irda/irnet/irnet_ppp.c | |||
@@ -706,7 +706,8 @@ dev_irnet_ioctl( | |||
706 | lock_kernel(); | 706 | lock_kernel(); |
707 | if(ap->ppp_open && !put_user(ppp_unit_number(&ap->chan), | 707 | if(ap->ppp_open && !put_user(ppp_unit_number(&ap->chan), |
708 | (int __user *)argp)) | 708 | (int __user *)argp)) |
709 | err = 0; | 709 | err = 0; |
710 | unlock_kernel(); | ||
710 | break; | 711 | break; |
711 | 712 | ||
712 | /* All these ioctls can be passed both directly and from ppp_generic, | 713 | /* All these ioctls can be passed both directly and from ppp_generic, |