android_kernel_motorola_sm6225/drivers/isdn
Tilman Schmidt 73a8881454 [PATCH] isdn4linux: Siemens Gigaset base driver: fix disconnect handling
Fix a possible Oops in the Siemens Gigaset base driver when the device is
unplugged while an ISDN connection is still active, and makes sure that the
isdn4linux link level (LL) is properly informed if a connection is broken
by the USB cable being unplugged.

- Avoid unsafe checks of URB status fields outside the URB completion
  handlers, keep track of in-use URBs myself instead.

- If an isochronous transfer URB completes with status==0, also check the
  status of the frame descriptors.

- Verify length of interrupt messages received from the device.

- Align the length limit on transmitted AT commands with the device
  documentation.

- In case of AT response receive overrun, keep newly arrived instead of old
  unread data.

- Remove redundant check of device ID in the USB probe function.

- Correct and improve some comments and formatting.

Signed-off-by: Tilman Schmidt <tilman@imap.cc>
Acked-by: Hansjoerg Lipp <hjlipp@web.de>
Cc: Karsten Keil <kkeil@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-04-22 09:19:52 -07:00
..
act2000 [PATCH] i4l: __attribute__((packed)) for the CAPI message structs 2006-01-08 20:14:08 -08:00
capi [PATCH] mark f_ops const in the inode 2006-03-28 09:16:05 -08:00
divert [PATCH] changing CONFIG_LOCALVERSION rebuilds too much, for no good reason 2005-11-09 07:55:57 -08:00
gigaset [PATCH] isdn4linux: Siemens Gigaset base driver: fix disconnect handling 2006-04-22 09:19:52 -07:00
hardware [PATCH] pcmcia: use bitfield instead of p_state and state 2006-03-31 17:26:33 +02:00
hisax [PATCH] pcmcia: use bitfield instead of p_state and state 2006-03-31 17:26:33 +02:00
hysdn [PATCH] Remove MODULE_PARM 2006-03-25 08:22:52 -08:00
i4l [ISDN]: Static overruns in drivers/isdn/i4l/isdn_ppp.c 2006-04-11 17:29:17 -07:00
icn [PATCH] changing CONFIG_LOCALVERSION rebuilds too much, for no good reason 2005-11-09 07:55:57 -08:00
isdnloop [PATCH] Remove MODULE_PARM 2006-03-25 08:22:52 -08:00
pcbit [PARISC] Mark hisax and pcbit ISDN drivers as not for parisc 2005-11-18 16:20:10 -05:00
sc [PATCH] ISDN: fix a few memory leaks in sc_ioctl() 2006-03-31 12:18:56 -08:00
Kconfig Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Makefile [PATCH] isdn4linux: Siemens Gigaset drivers - Kconfigs and Makefiles 2006-03-26 08:57:05 -08:00