diff options
author | Michael Buesch <mb@bu3sch.de> | 2009-03-31 12:27:32 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-04-16 10:39:14 -0400 |
commit | 591f3dc200abb2100c473248a121ce14bfeeabd6 (patch) | |
tree | 52e51b4e2277faa7ac0b56aee6f9adfadac6ec5c /drivers/net/wireless/b43/phy_common.h | |
parent | 6aabd4c4441133836ac969a9488458b37f83b677 (diff) | |
download | kernel_samsung_tuna-591f3dc200abb2100c473248a121ce14bfeeabd6.zip kernel_samsung_tuna-591f3dc200abb2100c473248a121ce14bfeeabd6.tar.gz kernel_samsung_tuna-591f3dc200abb2100c473248a121ce14bfeeabd6.tar.bz2 |
b43: Do radio lock assertion in software
The assertion of the lock-bit in the hardware register is unreliable,
because there are devices with quirks that will randomly set the bit.
Do the assertion in software, only.
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/b43/phy_common.h')
-rw-r--r-- | drivers/net/wireless/b43/phy_common.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/net/wireless/b43/phy_common.h b/drivers/net/wireless/b43/phy_common.h index c9f5430..b2d9910 100644 --- a/drivers/net/wireless/b43/phy_common.h +++ b/drivers/net/wireless/b43/phy_common.h @@ -245,8 +245,10 @@ struct b43_phy { atomic_t txerr_cnt; #ifdef CONFIG_B43_DEBUG - /* PHY registers locked by b43_phy_lock()? */ + /* PHY registers locked (w.r.t. firmware) */ bool phy_locked; + /* Radio registers locked (w.r.t. firmware) */ + bool radio_locked; #endif /* B43_DEBUG */ }; |