b43: N-PHY: fix success condition of running samples
Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
parent
9dd4d9b992
commit
2c8ac7eb96
@ -956,7 +956,7 @@ static void b43_nphy_run_samples(struct b43_wldev *dev, u16 samps, u16 loops,
|
||||
b43_phy_write(dev, B43_NPHY_SAMP_CMD, 1);
|
||||
}
|
||||
for (i = 0; i < 100; i++) {
|
||||
if (b43_phy_read(dev, B43_NPHY_RFSEQST) & 1) {
|
||||
if (!(b43_phy_read(dev, B43_NPHY_RFSEQST) & 1)) {
|
||||
i = 0;
|
||||
break;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user