give the AP and STA netifs different names for ease of debugging lwip

This commit is contained in:
Edmund Huber
2017-03-24 17:57:48 -07:00
committed by Ivan Grokhotkov
parent d3703ba80f
commit eab6d483a5
3 changed files with 18 additions and 7 deletions

View File

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