]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
rt2x00: Fix LED configuration setting for rt2800.
authorGertjan van Wingerde <gwingerde@gmail.com>
Wed, 30 Dec 2009 10:36:33 +0000 (11:36 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 5 Jan 2010 21:17:51 +0000 (16:17 -0500)
commit301a8234ea81938f0f083ae4e274d9c9296f3c86
tree7d8576b70dfb0590a928d4837912c30349a6bcd3
parentb59a52f12e483b79e7d32da7ec30dcf3b2e0210b
rt2x00: Fix LED configuration setting for rt2800.

rt2800_blink_set uses an illegal value to set the LED_CFG_G_LED_MODE
field of the LED_CFG register. This field is only 2 bits large, so
should be initialized with value that fits. Use default value from
the vendor driver.

Signed-off-by: Gertjan van Wingerde <gwingerde@gmail.com>
Acked-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rt2x00/rt2800lib.c