Skip to content

Commit

Permalink
Update for DNS API changes
Browse files Browse the repository at this point in the history
Signed-off-by: Deomid "rojer" Ryabkov <rojer@rojer.me>
  • Loading branch information
rojer committed Aug 21, 2021
1 parent 9b28a31 commit 9687aba
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/ism43xxx_wifi_hal.c
Original file line number Diff line number Diff line change
Expand Up @@ -295,6 +295,7 @@ static bool ism43xxx_cinfo_cb(struct ism43xxx_ctx *c,
LOG(LL_WARN, ("BUG: DNS is not set, using default. "
"Please Update the es-WiFi module FW."));
} else {
mgos_net_str_to_ip_n(dns, &c->sta_ip_info.dns);
}
}
}
Expand Down Expand Up @@ -426,11 +427,6 @@ bool mgos_wifi_dev_get_ip_info(int if_instance,
return res;
}

char *mgos_wifi_get_sta_default_dns(void) {
/* I don't think this is even possible... */
return NULL;
}

int mgos_wifi_sta_get_rssi(void) {
struct ism43xxx_ctx *c = (struct ism43xxx_ctx *) s_ctx;
return c->sta_rssi;
Expand Down

0 comments on commit 9687aba

Please sign in to comment.