diff options
author | Bob Copeland <me@bobcopeland.com> | 2009-08-17 11:18:14 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-08-20 11:35:58 -0400 |
commit | 1de6f73c34fb9a74454a5b519cefd635b5e8ceb6 (patch) | |
tree | dea07aeb083a71ab60fd8a75d436cfcdd4fcc9ee /drivers/net/wireless/wl12xx/wl1251_reg.h | |
parent | f424afa17899408cbd267a4c4534ca6fc9d8f71c (diff) |
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>
Diffstat (limited to 'drivers/net/wireless/wl12xx/wl1251_reg.h')
-rw-r--r-- | drivers/net/wireless/wl12xx/wl1251_reg.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/wl12xx/wl1251_reg.h b/drivers/net/wireless/wl12xx/wl1251_reg.h index bdd561001dcb..06e1bd94a739 100644 --- a/drivers/net/wireless/wl12xx/wl1251_reg.h +++ b/drivers/net/wireless/wl12xx/wl1251_reg.h | |||
@@ -245,8 +245,8 @@ enum wl12xx_acx_int_reg { | |||
245 | ACX_REG_TABLE_LEN | 245 | ACX_REG_TABLE_LEN |
246 | }; | 246 | }; |
247 | 247 | ||
248 | #define ACX_SLV_SOFT_RESET_BIT BIT(1) | 248 | #define ACX_SLV_SOFT_RESET_BIT BIT(0) |
249 | #define ACX_REG_EEPROM_START_BIT BIT(1) | 249 | #define ACX_REG_EEPROM_START_BIT BIT(0) |
250 | 250 | ||
251 | /* Command/Information Mailbox Pointers */ | 251 | /* Command/Information Mailbox Pointers */ |
252 | 252 | ||