diff --git a/nshlib/nsh_netinit.c b/nshlib/nsh_netinit.c index 674c8c036..f9d56af08 100644 --- a/nshlib/nsh_netinit.c +++ b/nshlib/nsh_netinit.c @@ -90,6 +90,8 @@ /* Pick one and at most one supported link layer so that all decisions are * made consistently. + * + * NOTE: Ethernet should always be selected with IEEE 802.11 */ #if defined(CONFIG_NET_ETHERNET) diff --git a/wireless/ieee802154/i8sak/i8sak_main.c b/wireless/ieee802154/i8sak/i8sak_main.c index 7bc94efe8..ff84570d7 100644 --- a/wireless/ieee802154/i8sak/i8sak_main.c +++ b/wireless/ieee802154/i8sak/i8sak_main.c @@ -444,7 +444,7 @@ static void i8sak_switch_instance(FAR char *devname) i8sak = (FAR struct i8sak_s *)sq_remfirst(&g_i8sak_free); if (i8sak == NULL) { - fprintf(stderr, "failed to allocate i8sak instance\n"); + fprintf(stderr, "ERROR: Failed to allocate i8sak instance\n"); exit(EXIT_FAILURE); } @@ -488,7 +488,7 @@ static int i8sak_setup(FAR struct i8sak_s *i8sak, FAR const char *devname) if (strlen(devname) > I8SAK_MAX_DEVNAME) { - fprintf(stderr, "i8sak: too long of devname"); + fprintf(stderr, "ERROR: devname too long\n"); return ERROR; }