mirror of
https://github.com/espressif/esp-idf.git
synced 2025-09-30 19:19:21 +00:00
give the AP and STA netifs different names for ease of debugging lwip
This commit is contained in:

committed by
Ivan Grokhotkov

parent
d3703ba80f
commit
eab6d483a5
@@ -100,8 +100,9 @@ static netif_init_fn tcpip_if_to_netif_init_fn(tcpip_adapter_if_t tcpip_if)
|
||||
switch(tcpip_if) {
|
||||
#ifdef CONFIG_WIFI_ENABLED
|
||||
case TCPIP_ADAPTER_IF_AP:
|
||||
return wlanif_init_ap;
|
||||
case TCPIP_ADAPTER_IF_STA:
|
||||
return wlanif_init;
|
||||
return wlanif_init_sta;
|
||||
#endif
|
||||
#ifdef CONFIG_ETHERNET
|
||||
case TCPIP_ADAPTER_IF_ETH:
|
||||
|
Reference in New Issue
Block a user