ar9170: fix LED power state handling
authorChristian Lamparter <chunkeey@web.de>
Mon, 25 May 2009 19:51:19 +0000 (21:51 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 3 Jun 2009 18:05:15 +0000 (14:05 -0400)
commit2431fe9a4b43ccf03589fa661662da6bfbd97282
treef609096a84180829aea2a2820048c00890d21970
parent95cf8769bba6ea595994f786ea63f7e2948133de
ar9170: fix LED power state handling

This patch fixes a minor visual bug in the led code, which
left the LED in the wrong power state when it was toggled
in a _unexpected_ way (e.g: enabling the LED twice).

Signed-off-by: Christian Lamparter <chunkeey@web.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ar9170/ar9170.h
drivers/net/wireless/ath/ar9170/led.c