Browse Source

Merge "qcacld-3.0: Fix the incorrect error check in scan function" into wlan-cld3.driver.lnx.2.0-dev

CNSS_WLAN Service 7 years ago
parent
commit
6880b9ebcb
1 changed files with 1 additions and 1 deletions
  1. 1 1
      core/hdd/src/wlan_hdd_scan.c

+ 1 - 1
core/hdd/src/wlan_hdd_scan.c

@@ -2024,7 +2024,7 @@ static void __wlan_hdd_cfg80211_abort_scan(struct wiphy *wiphy,
 	}
 
 	ret = wlan_hdd_validate_context(hdd_ctx);
-	if (!ret)
+	if (ret)
 		return;
 
 #ifndef NAPIER_SCAN