]> git.baikalelectronics.ru Git - kernel.git/commit
wl1251: correct definitions for 0th bit defines
authorBob Copeland <me@bobcopeland.com>
Mon, 17 Aug 2009 15:18:14 +0000 (11:18 -0400)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 20 Aug 2009 15:35:58 +0000 (11:35 -0400)
commit34d35813926b0afaa80f51a8fc5646d29afc5dbb
treedea07aeb083a71ab60fd8a75d436cfcdd4fcc9ee
parent1fc2677f4779a591059972504156d15ebc5ca5a3
wl1251: correct definitions for 0th bit defines

ACX_SLV_SOFT_RESET_BIT and ACX_REG_EEPROM_START_BIT are both defined
as "1" in the vendor driver code, but they were defined to be BIT(1)
("2") here.

The SOFT_RESET typo ensures that wl1251_boot_soft_reset() doesn't;
as a result the device hangs when trying to reprogram the PLL
registers while running.

Signed-off-by: Bob Copeland <me@bobcopeland.com>
Acked-by: Kalle Valo <kalle.valo@nokia.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/wl12xx/wl1251_reg.h