summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/mwl8k.c
diff options
context:
space:
mode:
authorLennert Buytenhek <buytenh@wantstofly.org>2009-08-24 15:42:36 +0200
committerJohn W. Linville <linville@tuxdriver.com>2009-08-28 20:40:42 +0200
commit942457d63fedd08ce7330b89fc2934be02c3fecc (patch)
treeb680db01e9fc665e80bd630cd6dc915a05c3abc9 /drivers/net/wireless/mwl8k.c
parentmac80211: fix RX skb leaks (diff)
downloadlinux-942457d63fedd08ce7330b89fc2934be02c3fecc.tar.xz
linux-942457d63fedd08ce7330b89fc2934be02c3fecc.zip
mwl8k: fix inverted error test in mwl8k_bss_info_changed()
Signed-off-by: Lennert Buytenhek <buytenh@marvell.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/mwl8k.c')
-rw-r--r--drivers/net/wireless/mwl8k.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/mwl8k.c b/drivers/net/wireless/mwl8k.c
index 41a708ce8730..4d3353cb308b 100644
--- a/drivers/net/wireless/mwl8k.c
+++ b/drivers/net/wireless/mwl8k.c
@@ -2617,7 +2617,7 @@ static void mwl8k_bss_info_changed(struct ieee80211_hw *hw,
priv->capture_beacon = false;
rc = mwl8k_fw_lock(hw);
- if (!rc)
+ if (rc)
return;
if (info->assoc) {