return r;
}
+ // Convert the RX/TX rate to bit/s (hostapd returns hundredth of kilobits)
+ station->rx_rate *= 100 * 1024;
+ station->tx_rate *= 100 * 1024;
+
// Submit the station
return td_source_submit_values(station->source, address, VALUES(
VALUE_UINT64("connected_time", &station->connected_time),
{ NULL },
};
- // Convert the RX/TX rate to bit/s
- station->rx_rate *= 100 * 1024;
- station->tx_rate *= 100 * 1024;
-
// Try parsing the line
return td_file_parse_line(stdout, parser, line, length);
}