[PATCH] zd1211rw: Add LED support
authorUlrich Kunitz <kune@deine-taler.de>
Wed, 13 Sep 2006 01:42:38 +0000 (02:42 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 25 Sep 2006 20:52:17 +0000 (16:52 -0400)
This patch includes a big cleanup of the existing unused LED code,
and adds support for controlling the LED.

The link LED will blink if the device is not associated. The LED
switches between 2 seconds on and 1 second off. If the device is
associated the LED is switched on.

The link LED also indicates packet TX. I do a little bit more led
resetting than the vendor driver, but the device works now as
expected for single LED and double LED devices.

Signed-off-by: Ulrich Kunitz <kune@deine-taler.de>
Signed-off-by: Daniel Drake <dsd@gentoo.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>

No differences found