qcacmn: Change IE parse failure prints to debug level

In some environments its found that IE's received are not
as expected and console gets flooded with pare failure prints.
Move these prints to debug level.

Change-Id: Ic25bdff65f340f47179a7ac6dd79731b80c805ff
CRs-Fixed: 2232553
This commit is contained in:
Om Prakash Tripathi 2018-04-27 14:35:39 +05:30 • committed by nshrivas
commit 8e9beaef6b
2 changed files with 5 additions and 5 deletions

View file

@ -741,7 +741,7 @@ QDF_STATUS scm_handle_bcn_probe(struct scheduler_msg *msg)
if (qdf_nbuf_len(bcn->buf) <=
(sizeof(struct wlan_frame_hdr) +
offsetof(struct wlan_bcn_frame, ie))) {
scm_err("invalid beacon/probe length");
scm_debug("invalid beacon/probe length");
status = QDF_STATUS_E_INVAL;
goto free_nbuf;
}
@ -751,7 +751,7 @@ QDF_STATUS scm_handle_bcn_probe(struct scheduler_msg *msg)
qdf_nbuf_len(bcn->buf), bcn->frm_type,
bcn->rx_data);
if (!scan_list || qdf_list_empty(scan_list)) {
scm_err("failed to unpack frame");
scm_debug("failed to unpack frame");
status = QDF_STATUS_E_INVAL;
goto free_nbuf;
}
@ -760,7 +760,7 @@ QDF_STATUS scm_handle_bcn_probe(struct scheduler_msg *msg)
for (i = 0; i < list_count; i++) {
status = qdf_list_remove_front(scan_list, &next_node);
if (QDF_IS_STATUS_ERROR(status) || next_node == NULL) {
scm_err("failed to unpack frame");
scm_debug("failed to unpack frame");
status = QDF_STATUS_E_INVAL;
goto free_nbuf;
}

View file

@ -483,7 +483,7 @@ util_scan_populate_bcn_ie_list(struct scan_cache_entry *scan_params)
}
if (ie_len < ie->ie_len) {
scm_err("Incomplete corrupted IE:%x",
scm_debug("Incomplete corrupted IE:%x",
ie->ie_id);
return QDF_STATUS_E_INVAL;
}
@ -898,7 +898,7 @@ util_scan_unpack_beacon_frame(struct wlan_objmgr_pdev *pdev, uint8_t *frame,
frame, frame_len);
status = util_scan_populate_bcn_ie_list(scan_entry);
if (QDF_IS_STATUS_ERROR(status)) {
scm_err("failed to parse beacon IE");
scm_debug("failed to parse beacon IE");
qdf_mem_free(scan_entry->raw_frame.ptr);
qdf_mem_free(scan_entry);
qdf_mem_free(scan_list);