All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 2/3] cxacru: Poll for device status more frequently.
@ 2007-01-30 21:27 Simon Arlott
  2007-01-31 14:27 ` Duncan Sands
  0 siblings, 1 reply; 5+ messages in thread
From: Simon Arlott @ 2007-01-30 21:27 UTC (permalink / raw)
  To: linux-kernel

The device is only polled for status every 5 seconds yet status updates occur as often as every second - when the line is down the status changes between "down" and "attempting to activate" every 2 seconds.

Signed-off-by: Simon Arlott <simon@fire.lp0.eu>

---
 drivers/usb/atm/cxacru.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/usb/atm/cxacru.c b/drivers/usb/atm/cxacru.c
index c1f97a3..a30cd9b 100644
--- a/drivers/usb/atm/cxacru.c
+++ b/drivers/usb/atm/cxacru.c
@@ -64,7 +64,7 @@ #define BR_STACK_ADDR	0x00187f10
 #define SDRAM_ENA	0x1
 
 #define CMD_TIMEOUT	2000	/* msecs */
-#define POLL_INTERVAL	5000	/* msecs */
+#define POLL_INTERVAL	500	/* msecs */
 
 /* commands for interaction with the modem through the control channel before
  * firmware is loaded  */
-- 
1.4.3.1


-- 
Simon Arlott (subscribed to lkml, don't CC)

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2007-02-11 17:15 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-01-30 21:27 [PATCH 2/3] cxacru: Poll for device status more frequently Simon Arlott
2007-01-31 14:27 ` Duncan Sands
2007-01-31 17:46   ` Simon Arlott
2007-01-31 18:15     ` Duncan Sands
2007-02-11 16:39       ` Simon Arlott

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.