Remove some debugging messages

Remove some of the debugging messages, so that, hopefully, only the
relevant ones are shown.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
This commit is contained in:
Eneas U de Queiroz 2021-08-05 10:37:06 -03:00 committed by Polynomdivision
parent c70773a171
commit c9f6684021
5 changed files with 0 additions and 166 deletions

View file

@ -72,10 +72,6 @@ int compare_essid_iwinfo(struct dawn_mac bssid_addr, struct dawn_mac bssid_addr_
}
closedir(dirp);
#ifndef DAWN_NO_OUTPUT
printf("Comparing: %s with %s\n", essid, essid_to_compare);
#endif
if (essid == NULL || essid_to_compare == NULL) {
return -1;
}
@ -122,15 +118,9 @@ int get_bandwidth(const char *ifname, struct dawn_mac client_addr, float *rx_rat
iw = iwinfo_backend(ifname);
if (iw->assoclist(ifname, buf, &len)) {
#ifndef DAWN_NO_OUTPUT
fprintf(stdout, "No information available\n");
#endif
iwinfo_finish();
return 0;
} else if (len <= 0) {
#ifndef DAWN_NO_OUTPUT
fprintf(stdout, "No station connected\n");
#endif
iwinfo_finish();
return 0;
}
@ -362,9 +352,6 @@ int support_ht(const char *ifname) {
if (iw->htmodelist(ifname, &htmodes))
{
#ifndef DAWN_NO_OUTPUT
printf("No HT mode information available\n");
#endif
iwinfo_finish();
return 0;
}
@ -384,7 +371,6 @@ int support_vht(const char *ifname) {
if (iw->htmodelist(ifname, &htmodes))
{
fprintf(stderr, "No VHT mode information available\n");
iwinfo_finish();
return 0;
}