From f4658dcd987a5bf83e73bc6fe362825a3a0f1a0d Mon Sep 17 00:00:00 2001 From: Lejla <lejla.murselovic@iopsys.eu> Date: Wed, 14 Apr 2021 14:46:54 +0200 Subject: [PATCH] map-agent: checkpatch fix --- src/core/agent_map.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/core/agent_map.c b/src/core/agent_map.c index 067a46a50..f8a0343d0 100644 --- a/src/core/agent_map.c +++ b/src/core/agent_map.c @@ -3043,7 +3043,7 @@ int handle_channel_scan_request(void *agent, struct cmdu_cstruct *cmdu) uint8_t *ss = NULL; // binary cmdu->tlvs char *tlv_str = NULL; // string cmdu->tlvs uint8_t *tlvs = NULL; // binary resulting tlvs - char * endtlvstr = NULL; // end_of_mes tlv string + char *endtlvstr = NULL; // end_of_mes tlv string char *restlvstr = NULL; // string resulting tlvs uint16_t len, leng; @@ -3163,7 +3163,8 @@ int handle_channel_scan_request(void *agent, struct cmdu_cstruct *cmdu) return 1; } -bool all_channel_scanned(struct agent *a, struct tlv_ch_scan_req *query) { +bool all_channel_scanned(struct agent *a, struct tlv_ch_scan_req *query) +{ int ri, i; for (i = 0; i < query->nbr_radios; i++) { ri = wifi_get_radio_index_by_mac(a, query->radio_data[i].radio_id); -- GitLab