git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
vserver 1.9.3
[linux-2.6.git]
/
drivers
/
usb
/
class
/
bluetty.c
diff --git
a/drivers/usb/class/bluetty.c
b/drivers/usb/class/bluetty.c
index
2e8f520
..
4d8e018
100644
(file)
--- a/
drivers/usb/class/bluetty.c
+++ b/
drivers/usb/class/bluetty.c
@@
-988,21
+988,13
@@
static void bluetooth_write_bulk_callback (struct urb *urb, struct pt_regs *regs
static void bluetooth_softint(void *private)
{
struct usb_bluetooth *bluetooth = get_usb_bluetooth ((struct usb_bluetooth *)private, __FUNCTION__);
static void bluetooth_softint(void *private)
{
struct usb_bluetooth *bluetooth = get_usb_bluetooth ((struct usb_bluetooth *)private, __FUNCTION__);
- struct tty_struct *tty;
dbg("%s", __FUNCTION__);
dbg("%s", __FUNCTION__);
- if (!bluetooth)
{
+ if (!bluetooth)
return;
return;
- }
-
- tty = bluetooth->tty;
- if ((tty->flags & (1 << TTY_DO_WRITE_WAKEUP)) && tty->ldisc.write_wakeup) {
- dbg("%s - write wakeup call.", __FUNCTION__);
- (tty->ldisc.write_wakeup)(tty);
- }
-
wake_up_interruptible(&tty->write_wait
);
+
tty_wakeup(bluetooth->tty
);
}
}