1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

cpu/esp32: fixes NETOPT_IS_WIRED in esp_wifi

esp_wifi returns false now.
This commit is contained in:
Gunar Schorcht 2019-01-13 17:02:58 +01:00 committed by Schorcht
parent 078c47d79c
commit 2c97377585

View File

@ -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: