qcacld-3.0: Correctly handle update of scan IEs
Excessive logging of the following error message was observed: __wlan_hdd_cfg80211_scan: Update scan IEs with default Scan IEs failed This message was being printed because wlan_hdd_update_scan_ies() returns an error code when no default scan IEs have been configured. But this is a valid scenario, so modify wlan_hdd_update_scan_ies() to return success (0) when no default IEs have been configured. Change-Id: I4b9dc1d38d38d326861b7c95d13b891cb0d0c522 CRs-Fixed: 2013531
This commit is contained in:
@@ -1443,7 +1443,7 @@ static int wlan_hdd_update_scan_ies(hdd_adapter_t *adapter,
|
||||
uint16_t elem_len;
|
||||
|
||||
if (!scan_info->default_scan_ies_len || !scan_info->default_scan_ies)
|
||||
return -EINVAL;
|
||||
return 0;
|
||||
|
||||
while (rem_len >= 2) {
|
||||
current_ie = temp_ie;
|
||||
|
Reference in New Issue
Block a user