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>
This commit is contained in:
Lennert Buytenhek 2009-08-24 15:42:36 +02:00 committed by John W. Linville
parent 77a980dc6c
commit 942457d63f
1 changed files with 1 additions and 1 deletions

View File

@ -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) {