default send always probes
This commit is contained in:
parent
60dd1f8e13
commit
64c6479201
|
@ -11,9 +11,9 @@ bool config_client_clean_authed = false;
|
|||
|
||||
bool config_client_force = false;
|
||||
bool config_client_force_probe = false;
|
||||
bool config_client_probe_steering = true;
|
||||
bool config_client_probe_steering = false;
|
||||
// steering contains learning already
|
||||
bool config_client_probe_learning = false;
|
||||
bool config_client_probe_learning = true;
|
||||
|
||||
#ifndef MINI
|
||||
bool config_client_socket_learning = true;
|
||||
|
|
|
@ -159,7 +159,7 @@ static int receive_notify(struct ubus_context *ctx, struct ubus_object *obj, str
|
|||
}
|
||||
if(config_client_probe_learning) {
|
||||
log_verbose("%s["MACSTR"] freq: %d signal %d -> learn\n", method, MAC2STR(addr), hclient.freq, hclient.ssi_signal);
|
||||
wifi_clients_learn(&hclient);
|
||||
wifi_clients_learn(&hclient);
|
||||
}
|
||||
} else {
|
||||
wifi_clients_disconnect(&hclient);
|
||||
|
|
|
@ -181,7 +181,7 @@ int wifi_clients_try(struct hostapd_client *hclient) {
|
|||
return 0;
|
||||
}
|
||||
if (client->freq_highest > WIFI_CLIENT_FREQ_THREASHOLD) {
|
||||
if (config_client_force || config_client_force_probe && !hclient->auth) {
|
||||
if (config_client_force && hclient->auth || config_client_force_probe && !hclient->auth) {
|
||||
if(!hclient->auth){
|
||||
log_verbose("reject - force\n");
|
||||
return -1;
|
||||
|
|
Loading…
Reference in New Issue