diff options
Diffstat (limited to 'drivers/isdn/gigaset/interface.c')
-rw-r--r-- | drivers/isdn/gigaset/interface.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/drivers/isdn/gigaset/interface.c b/drivers/isdn/gigaset/interface.c index f3dce8c4831b..25750864d206 100644 --- a/drivers/isdn/gigaset/interface.c +++ b/drivers/isdn/gigaset/interface.c | |||
@@ -246,8 +246,6 @@ static int if_ioctl(struct tty_struct *tty, struct file *file, | |||
246 | break; | 246 | break; |
247 | case GIGASET_BRKCHARS: | 247 | case GIGASET_BRKCHARS: |
248 | //FIXME test if MS_LOCKED | 248 | //FIXME test if MS_LOCKED |
249 | gigaset_dbg_buffer(DEBUG_IF, "GIGASET_BRKCHARS", | ||
250 | 6, (const unsigned char *) arg, 1); | ||
251 | if (!atomic_read(&cs->connected)) { | 249 | if (!atomic_read(&cs->connected)) { |
252 | gig_dbg(DEBUG_ANY, | 250 | gig_dbg(DEBUG_ANY, |
253 | "can't communicate with unplugged device"); | 251 | "can't communicate with unplugged device"); |
@@ -257,8 +255,11 @@ static int if_ioctl(struct tty_struct *tty, struct file *file, | |||
257 | retval = copy_from_user(&buf, | 255 | retval = copy_from_user(&buf, |
258 | (const unsigned char __user *) arg, 6) | 256 | (const unsigned char __user *) arg, 6) |
259 | ? -EFAULT : 0; | 257 | ? -EFAULT : 0; |
260 | if (retval >= 0) | 258 | if (retval >= 0) { |
259 | gigaset_dbg_buffer(DEBUG_IF, "GIGASET_BRKCHARS", | ||
260 | 6, (const unsigned char *) arg); | ||
261 | retval = cs->ops->brkchars(cs, buf); | 261 | retval = cs->ops->brkchars(cs, buf); |
262 | } | ||
262 | break; | 263 | break; |
263 | case GIGASET_VERSION: | 264 | case GIGASET_VERSION: |
264 | retval = copy_from_user(version, | 265 | retval = copy_from_user(version, |