projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9dd4d9b
)
b43: N-PHY: fix success condition of running samples
author
Rafał Miłecki
<zajec5@gmail.com>
Tue, 20 Dec 2011 21:45:48 +0000
(22:45 +0100)
committer
John W. Linville
<linville@tuxdriver.com>
Wed, 4 Jan 2012 19:30:41 +0000
(14:30 -0500)
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/b43/phy_n.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/b43/phy_n.c
b/drivers/net/wireless/b43/phy_n.c
index 52503c699b2e4c9e3cf897e3fc2d3783ba91f131..da6fa0360788f38343696aadaeed47093fd7a86a 100644
(file)
--- 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,
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;
}