fix client freq not found
This commit is contained in:
parent
3ebf12bfd0
commit
4f81684f7d
|
@ -88,8 +88,8 @@ static int receive_notify(struct ubus_context *ctx, struct ubus_object *obj, str
|
|||
struct hostapd_client hclient = {
|
||||
.method = method,
|
||||
.auth = false,
|
||||
.freq = -1,
|
||||
.ssi_signal = -1,
|
||||
.freq = 0,
|
||||
.ssi_signal = 0,
|
||||
};
|
||||
|
||||
struct blob_attr *pos;
|
||||
|
|
|
@ -95,6 +95,7 @@ struct wifi_client *__get_client(struct hostapd_client *hclient){
|
|||
client->try_probe = 0;
|
||||
client->try_auth = 0;
|
||||
client->connected = 0;
|
||||
client->authed = 0;
|
||||
client->freq_highest = 0;
|
||||
client->signal_lowfreq = 0;
|
||||
client->signal_highfreq = 0;
|
||||
|
|
Loading…
Reference in New Issue