mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 15:11:48 -04:00
qcacmn: Use qdf_scnprintf in scan instead of snprintf
Use qdf_scnprintf instead of snprintf to log channels to store the freq list and print. Change-Id: I4e2f4a93f3de9b9937af3699bde00bb2d1066ca5 CRs-Fixed: 2615319
This commit is contained in:
parent
fdb09af186
commit
d52ee762bc
1 changed files with 2 additions and 2 deletions
|
|
@ -1292,8 +1292,8 @@ static inline void scm_print_scan_req_info(struct scan_req_params *req)
|
|||
return;
|
||||
|
||||
for (idx = 0; idx < chan_lst->num_chan; idx++)
|
||||
len += snprintf(chan_buff + len, buff_len - len, "%d ",
|
||||
chan_lst->chan[idx].freq);
|
||||
len += qdf_scnprintf(chan_buff + len, buff_len - len, "%d ",
|
||||
chan_lst->chan[idx].freq);
|
||||
|
||||
scm_nofl_debug("Freq list[%d]: %s", chan_lst->num_chan, chan_buff);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue