drivers: modem: hl7800: only set DNS addr if not set
Only set the DNS resolver server address if one has not been specified. Signed-off-by: Ryan Erickson <ryan.erickson@lairdconnect.com>
This commit is contained in:
parent
84158f54b9
commit
0e86699223
1 changed files with 1 additions and 1 deletions
|
@ -1486,7 +1486,7 @@ done:
|
|||
|
||||
static void dns_work_cb(struct k_work *work)
|
||||
{
|
||||
#ifdef CONFIG_DNS_RESOLVER
|
||||
#if defined(CONFIG_DNS_RESOLVER) && !defined(CONFIG_DNS_SERVER_IP_ADDRESSES)
|
||||
int ret;
|
||||
struct dns_resolve_context *dnsCtx;
|
||||
const char *dns_servers_str[] = { ictx.dns_string };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue