mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6
This commit is contained in:
commit
b1109bf085
27 changed files with 165 additions and 143 deletions
|
|
@ -698,15 +698,18 @@ dev_irnet_ioctl(
|
|||
|
||||
/* Query PPP channel and unit number */
|
||||
case PPPIOCGCHAN:
|
||||
lock_kernel();
|
||||
if(ap->ppp_open && !put_user(ppp_channel_index(&ap->chan),
|
||||
(int __user *)argp))
|
||||
err = 0;
|
||||
unlock_kernel();
|
||||
break;
|
||||
case PPPIOCGUNIT:
|
||||
lock_kernel();
|
||||
if(ap->ppp_open && !put_user(ppp_unit_number(&ap->chan),
|
||||
(int __user *)argp))
|
||||
err = 0;
|
||||
err = 0;
|
||||
unlock_kernel();
|
||||
break;
|
||||
|
||||
/* All these ioctls can be passed both directly and from ppp_generic,
|
||||
|
|
|
|||
Loading…
Reference in a new issue