From 2c97377585c142d4148d94a921d516e13c72fef3 Mon Sep 17 00:00:00 2001 From: Gunar Schorcht <gunar@schorcht.net> Date: Sun, 13 Jan 2019 17:02:58 +0100 Subject: [PATCH] cpu/esp32: fixes NETOPT_IS_WIRED in esp_wifi esp_wifi returns false now. --- cpu/esp32/esp-wifi/esp_wifi_netdev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpu/esp32/esp-wifi/esp_wifi_netdev.c b/cpu/esp32/esp-wifi/esp_wifi_netdev.c index f3b461f82e..2d55d1233d 100644 --- a/cpu/esp32/esp-wifi/esp_wifi_netdev.c +++ b/cpu/esp32/esp-wifi/esp_wifi_netdev.c @@ -356,7 +356,7 @@ static int _esp_wifi_get(netdev_t *netdev, netopt_t opt, void *val, size_t max_l esp_wifi_get_mac(ESP_MAC_WIFI_STA,(uint8_t *)val); return ETHERNET_ADDR_LEN; case NETOPT_IS_WIRED: - return true; + return false; case NETOPT_LINK_CONNECTED: return dev->connected; default: -- GitLab