zephyr/drivers/modem
Hans Wilmers 2972cdc763 drivers: modem: ublox-sara-r4: fix getaddrinfo
The implementation of offload_getaddrinfo in this driver failed
when the node it was called with was an IP address. This condition
was never detected, and as a consequence a DNS query was done on
the IP address instead of returning it directly.

Also, the port was set first after running the DNS query.
As a consequence, if the IP address would have been returned directly,
this would have been done without a port been set.

Both errors are fixed in this patch.

Signed-off-by: Hans Wilmers <hans@wilmers.no>
2020-05-27 18:35:39 +02:00
..
CMakeLists.txt drivers: modem: Support GSM modems and PPP 2020-01-28 12:44:17 +02:00
gsm_ppp.c device: Fix structure attributes access 2020-05-08 23:07:44 +02:00
Kconfig drivers: modem: Port to new timeout API 2020-05-07 11:01:55 +02:00
Kconfig.gsm net: ppp: Convert PPP driver to use normal UART APIs 2020-04-17 10:15:54 +03:00
Kconfig.ublox-sara-r4 drivers: modem: ublox-sara-r4: automatic setting of APN 2020-05-07 23:36:10 -05:00
Kconfig.wncm14a2a kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
modem_cmd_handler.c drivers: modem: Port to new timeout API 2020-05-07 11:01:55 +02:00
modem_cmd_handler.h drivers: modem: Port to new timeout API 2020-05-07 11:01:55 +02:00
modem_context.c drivers: modem: context helper: introduce modem context helper driver 2019-08-10 00:03:39 +02:00
modem_context.h drivers: modem: Fix gpio compile errors with modem shell 2020-02-06 12:33:20 +02:00
modem_iface_uart.c modem: gsm: Initialize the modem UART separately 2020-04-17 10:15:54 +03:00
modem_iface_uart.h modem: gsm: Initialize the modem UART separately 2020-04-17 10:15:54 +03:00
modem_pin.c drivers: modem: gpio api and string len 2020-04-21 17:02:22 +03:00
modem_receiver.c driver: modem: add simple power management to modem receiver 2019-09-08 12:41:29 +02:00
modem_receiver.h driver: modem: add simple power management to modem receiver 2019-09-08 12:41:29 +02:00
modem_shell.c device: Fix structure attributes access 2020-05-08 23:07:44 +02:00
modem_socket.c coccinelle: run int_ms_to_timeout conversion semantic patch 2020-05-07 19:46:03 +02:00
modem_socket.h drivers: modem: socket: add is_connected field to modem_socket 2020-02-10 12:29:41 +02:00
ublox-sara-r4.c drivers: modem: ublox-sara-r4: fix getaddrinfo 2020-05-27 18:35:39 +02:00
wncm14a2a.c driver: modem: wncm14a2a: Convert to use k_timeout_t 2020-05-01 10:50:03 +03:00