diff --git a/src/core/agent_map.c b/src/core/agent_map.c index 067a46a50c3621daa914fdd4107c72a822f85edc..f8a0343d092a7836a9d2094982f08b10770c4193 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);