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:
parent
078c47d79c
commit
2c97377585
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user