diff options
author | Lennert Buytenhek <buytenh@wantstofly.org> | 2009-08-24 15:42:36 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-08-28 14:40:42 -0400 |
commit | 942457d63fedd08ce7330b89fc2934be02c3fecc (patch) | |
tree | b680db01e9fc665e80bd630cd6dc915a05c3abc9 /drivers/net/wireless/mwl8k.c | |
parent | 77a980dc6c4674fc7741d72b9775135669318d8d (diff) | |
download | op-kernel-dev-942457d63fedd08ce7330b89fc2934be02c3fecc.zip op-kernel-dev-942457d63fedd08ce7330b89fc2934be02c3fecc.tar.gz |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/mwl8k.c b/drivers/net/wireless/mwl8k.c index 41a708c..4d3353c 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) { |