Skip to contentSkip to conversation

mwl8k: fix inverted error test in mwl8k_bss_info_changed()

PATCH New Lennert Buytenhek 1 participant 1 message Aug 24, 2009 Networking drivers (wireless)

lore
Share & tools
lore
#0 lore raw

PATCH 1/4 mwl8k: fix inverted error test in mwl8k_bss_info_changed()

---
 drivers/net/wireless/mwl8k.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/net/wireless/mwl8k.c +1 -1
index 41a708c..4d3353c 100644
@@ -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) {
Signature · 1 line
1.5.6.4