netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* ath5k irq warning message
@ 2009-04-22 21:56 Ben Greear
  2009-04-23 12:06 ` Bob Copeland
  0 siblings, 1 reply; 3+ messages in thread
From: Ben Greear @ 2009-04-22 21:56 UTC (permalink / raw)
  To: NetDev

I'm working on debugging some sort of live-lock related to irqs
in ath5k with lots of virtual stations.

I notice this code in the ath5k_intr method.

Won't counter be -1 if you break out of this due to the 'counter-- > 0'
clause?

If so, then that warning won't be printed regardless...

	} while (ath5k_hw_is_intr_pending(ah) && counter-- > 0);

	if (unlikely(!counter))
		ATH5K_WARN(sc, "too many interrupts, giving up for now\n");


Thanks,
Ben

-- 
Ben Greear <greearb@candelatech.com>
Candela Technologies Inc  http://www.candelatech.com


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

end of thread, other threads:[~2009-04-23 16:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-22 21:56 ath5k irq warning message Ben Greear
2009-04-23 12:06 ` Bob Copeland
2009-04-23 16:27   ` Ben Greear

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).