diff --git a/umac/scan/dispatcher/src/wlan_scan_utils_api.c b/umac/scan/dispatcher/src/wlan_scan_utils_api.c index b3b0152a06..a33aad1472 100644 --- a/umac/scan/dispatcher/src/wlan_scan_utils_api.c +++ b/umac/scan/dispatcher/src/wlan_scan_utils_api.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017-2018 The Linux Foundation. All rights reserved. + * Copyright (c) 2017-2019 The Linux Foundation. All rights reserved. * * Permission to use, copy, modify, and/or distribute this software for * any purpose with or without fee is hereby granted, provided that the @@ -1067,12 +1067,6 @@ util_scan_gen_scan_entry(struct wlan_objmgr_pdev *pdev, return QDF_STATUS_E_FAILURE; } - if (!scan_entry->ie_list.rates) { - qdf_mem_free(scan_entry->raw_frame.ptr); - qdf_mem_free(scan_entry); - return QDF_STATUS_E_FAILURE; - } - ssid = (struct ie_ssid *) scan_entry->ie_list.ssid;