mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-12 15:49:17 -04:00
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
This commit is contained in:
parent
6d2e862c77
commit
d9e8b4f531
1 changed files with 4 additions and 4 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue