nshlib/nsh_netinit.c: If IEEE802.11 selected use wlan0 instead of eth0 for network device name.
This commit is contained in:
parent
4ba1f8665d
commit
a5c439777d
@ -124,7 +124,10 @@
|
|||||||
* not be the one that you want).
|
* not be the one that you want).
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#if defined(CONFIG_NET_ETHERNET)
|
#if defined(CONFIG_DRIVERS_IEEE80211) /* Usually also has CONFIG_NET_ETHERNET */
|
||||||
|
# define NET_DEVNAME "wlan0"
|
||||||
|
# define NSH_HAVE_NETDEV
|
||||||
|
#elif defined(CONFIG_NET_ETHERNET)
|
||||||
# define NET_DEVNAME "eth0"
|
# define NET_DEVNAME "eth0"
|
||||||
# define NSH_HAVE_NETDEV
|
# define NSH_HAVE_NETDEV
|
||||||
#elif defined(CONFIG_NET_6LOWPAN)
|
#elif defined(CONFIG_NET_6LOWPAN)
|
||||||
|
Loading…
Reference in New Issue
Block a user