remove prints

This commit is contained in:
PolynomialDivision 2017-12-12 13:11:39 +01:00
parent 8113bd379b
commit d319c24878

View file

@ -34,14 +34,11 @@ int get_bandwidth_iwinfo(__uint8_t *client_addr, float *rx_rate, float *tx_rate)
int count = 0;
while ((entry = readdir(dirp)) != NULL) {
if (entry->d_type == DT_SOCK) {
printf("TRY TO GET BANDWITH: %d\n", count);
if(get_bandwith(entry->d_name, client_addr, rx_rate, tx_rate))
{
// bandwith found
sucess = 1;
break;
}
count++;
}
}
closedir(dirp);