mwl8k: fix inverted error test in mwl8k_bss_info_changed()
PATCH 1/4 mwl8k: fix inverted error test in mwl8k_bss_info_changed()
Signed-off-by Lennert Buytenhek <[email protected]>
--- drivers/net/wireless/mwl8k.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/net/wireless/mwl8k.c +1 -1
@@ -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