mirror of
https://github.com/berlin-open-wireless-lab/DAWN.git
synced 2025-03-09 15:40:12 +00:00
Get clients at startup
This commit is contained in:
parent
0ae70ccc28
commit
626f435684
1 changed files with 3 additions and 3 deletions
|
@ -230,8 +230,8 @@ int dawn_init_ubus(const char *ubus_socket, char *hostapd_dir) {
|
||||||
|
|
||||||
subscribe_to_hostapd_interfaces(hostapd_dir);
|
subscribe_to_hostapd_interfaces(hostapd_dir);
|
||||||
|
|
||||||
//ubus_get_clients();
|
ubus_get_clients();
|
||||||
|
/*
|
||||||
printf("Deleting Client\n");
|
printf("Deleting Client\n");
|
||||||
//"78:02:f8:bc:ac:0b"
|
//"78:02:f8:bc:ac:0b"
|
||||||
|
|
||||||
|
@ -241,7 +241,7 @@ int dawn_init_ubus(const char *ubus_socket, char *hostapd_dir) {
|
||||||
for(int i = 0; i < ETH_ALEN; ++i )
|
for(int i = 0; i < ETH_ALEN; ++i )
|
||||||
tmp_mac[i] = (uint8_t) tmp_int_mac[i];
|
tmp_mac[i] = (uint8_t) tmp_int_mac[i];
|
||||||
del_client(tmp_mac, 5, 1, 60000);
|
del_client(tmp_mac, 5, 1, 60000);
|
||||||
|
*/
|
||||||
uloop_run();
|
uloop_run();
|
||||||
|
|
||||||
close_socket();
|
close_socket();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue