qcacmn: Don't drop the beacon/probe resp if rates IE does not present
Currently, beacon or probe responses are dropped by the scan module if the rates IE does not present. But, some AP's in 11n mode does not add the rates IE. So, it is not mandatory to have the rates IE in the beacon or probe response. Change-Id: Id57b2216c012d117cca1a3a2dbce9825d58b67c3 CRs-Fixed: 2376710
This commit is contained in:
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user