Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 72985
b: refs/heads/master
c: 49259d3
h: refs/heads/master
i:
  72983: c885b64
v: v3
  • Loading branch information
David S. Miller committed Nov 1, 2007
1 parent 3f4cb82 commit 225f9ef
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 3b582cc14c50f71eabf1c3cada05acb8dc9f457c
refs/heads/master: 49259d34c52df6be482fefca946debe28ba9a2f6
10 changes: 10 additions & 0 deletions trunk/net/irda/irnet/irnet_ppp.c
Original file line number Diff line number Diff line change
Expand Up @@ -731,15 +731,25 @@ dev_irnet_ioctl(struct inode * inode,
/* Get termios */
case TCGETS:
DEBUG(FS_INFO, "Get termios.\n");
#ifndef TCGETS2
if(kernel_termios_to_user_termios((struct termios __user *)argp, &ap->termios))
break;
#else
if(kernel_termios_to_user_termios_1((struct termios __user *)argp, &ap->termios))
break;
#endif
err = 0;
break;
/* Set termios */
case TCSETSF:
DEBUG(FS_INFO, "Set termios.\n");
#ifndef TCGETS2
if(user_termios_to_kernel_termios(&ap->termios, (struct termios __user *)argp))
break;
#else
if(user_termios_to_kernel_termios_1(&ap->termios, (struct termios __user *)argp))
break;
#endif
err = 0;
break;

Expand Down

0 comments on commit 225f9ef

Please sign in to comment.