Browse Source

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
Bala Venkatesh 6 years ago
parent
commit
7a5bee08a9
1 changed files with 1 additions and 7 deletions
  1. 1 7
      umac/scan/dispatcher/src/wlan_scan_utils_api.c

+ 1 - 7
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;