qcacld-3.0: Fix the incorrect error check in scan function

Due to incorrect error check wlan scan abort request
consistently fails.
Fix the error check statement.

Change-Id: I342f96596daaad9e6668059a7085dd215ff5241f
CRs-Fixed: 2049396
This commit is contained in:
Kabilan Kannan 2017-05-18 18:06:09 -07:00 • committed by snandini
commit 703fc299e9

View file

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