aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/net/wireless/b43/phy_n.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/b43/phy_n.c b/drivers/net/wireless/b43/phy_n.c
index 52503c699b2e..da6fa0360788 100644
--- a/drivers/net/wireless/b43/phy_n.c
+++ b/drivers/net/wireless/b43/phy_n.c
@@ -956,7 +956,7 @@ static void b43_nphy_run_samples(struct b43_wldev *dev, u16 samps, u16 loops,
956 b43_phy_write(dev, B43_NPHY_SAMP_CMD, 1); 956 b43_phy_write(dev, B43_NPHY_SAMP_CMD, 1);
957 } 957 }
958 for (i = 0; i < 100; i++) { 958 for (i = 0; i < 100; i++) {
959 if (b43_phy_read(dev, B43_NPHY_RFSEQST) & 1) { 959 if (!(b43_phy_read(dev, B43_NPHY_RFSEQST) & 1)) {
960 i = 0; 960 i = 0;
961 break; 961 break;
962 } 962 }