mirror of
https://github.com/berlin-open-wireless-lab/DAWN.git
synced 2025-03-09 15:40:12 +00:00
remove prints
This commit is contained in:
parent
9377c5ab63
commit
155180692c
1 changed files with 1 additions and 4 deletions
|
@ -83,7 +83,7 @@ int eval_probe_metric(struct probe_entry_s probe_entry) {
|
||||||
score += (probe_entry.signal >= dawn_metric.rssi_val) ? dawn_metric.rssi : 0;
|
score += (probe_entry.signal >= dawn_metric.rssi_val) ? dawn_metric.rssi : 0;
|
||||||
score += (probe_entry.signal <= dawn_metric.low_rssi_val) ? dawn_metric.low_rssi : 0;
|
score += (probe_entry.signal <= dawn_metric.low_rssi_val) ? dawn_metric.low_rssi : 0;
|
||||||
|
|
||||||
printf("SCORE: %d\n", score);
|
printf("SCORE: %d of:\n", score);
|
||||||
print_probe_entry(probe_entry);
|
print_probe_entry(probe_entry);
|
||||||
|
|
||||||
return score;
|
return score;
|
||||||
|
@ -481,9 +481,6 @@ ap ap_array_get_ap(uint8_t bssid_addr[]) {
|
||||||
|
|
||||||
char bssid_mac_string[20];
|
char bssid_mac_string[20];
|
||||||
sprintf(bssid_mac_string, MACSTR, MAC2STR(bssid_addr));
|
sprintf(bssid_mac_string, MACSTR, MAC2STR(bssid_addr));
|
||||||
printf("Try to find: %s\n", bssid_mac_string);
|
|
||||||
printf("in\n");
|
|
||||||
print_ap_array();
|
|
||||||
|
|
||||||
if (ap_entry_last == -1) {
|
if (ap_entry_last == -1) {
|
||||||
return ret;
|
return ret;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue