From d9e8b4f5316b21312b1c694d20cdc7368090c8d4 Mon Sep 17 00:00:00 2001 From: Abhishek Singh Date: Wed, 12 Apr 2017 14:58:08 +0530 Subject: [PATCH] qcacmn: Fix error while adding beacons with CSA IE Fix error while processing beacon with CSA IE. Log the event and add the beacon/probe with CSA IE in database. Change-Id: Ia7552460e91a50888ef04e0ebd79a0350dd16d1a CRs-Fixed: 2033231 --- umac/scan/core/src/wlan_scan_cache_db.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/umac/scan/core/src/wlan_scan_cache_db.c b/umac/scan/core/src/wlan_scan_cache_db.c index e744b3972dc4..2c4ceafc36ab 100644 --- a/umac/scan/core/src/wlan_scan_cache_db.c +++ b/umac/scan/core/src/wlan_scan_cache_db.c @@ -458,17 +458,17 @@ static QDF_STATUS scm_add_update_entry(struct scan_dbs *scan_db, { QDF_STATUS status; - /* SSID shouldn't be NULL in probe resp */ if (scan_params->frm_subtype == MGMT_SUBTYPE_PROBE_RESP && !scan_params->ie_list.ssid) - return QDF_STATUS_E_INVAL; + scm_info("Probe resp doesnt contain SSID"); + - /* CSA or ECSA present ignore */ if (scan_params->ie_list.csa || scan_params->ie_list.xcsa || scan_params->ie_list.cswrp) - return QDF_STATUS_E_INVAL; + scm_info("CSA IE present for BSSID: %pM", + scan_params->bssid.bytes); scm_find_duplicate_and_del(scan_db, scan_params); status = scm_add_scan_entry(scan_db, scan_params);