Skip to content

Commit

Permalink
mwl8k: fix inverted error test in mwl8k_bss_info_changed()
Browse files Browse the repository at this point in the history
Signed-off-by: Lennert Buytenhek <buytenh@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
  • Loading branch information
Lennert Buytenhek authored and John W. Linville committed Aug 28, 2009
1 parent 77a980d commit 942457d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/wireless/mwl8k.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 942457d

Please sign in to comment.