mirror of
https://github.com/berlin-open-wireless-lab/DAWN.git
synced 2025-03-09 15:40:12 +00:00
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:
parent
c70773a171
commit
c9f6684021
5 changed files with 0 additions and 166 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue