From 82eac7106435a5fedf0a267f787b25d33083c2be Mon Sep 17 00:00:00 2001 From: thread-liu Date: Thu, 10 Dec 2020 09:12:55 +0800 Subject: [PATCH] [update] Incorrect macro definition name and update jobs name. --- .github/workflows/action.yml | 1 + components/net/netdev/src/netdev.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/action.yml b/.github/workflows/action.yml index 001566c0aa..8335ee1b6a 100644 --- a/.github/workflows/action.yml +++ b/.github/workflows/action.yml @@ -24,6 +24,7 @@ on: jobs: build: runs-on: ubuntu-latest + name: ${{ matrix.legs.RTT_BSP }} strategy: fail-fast: false matrix: diff --git a/components/net/netdev/src/netdev.c b/components/net/netdev/src/netdev.c index 646d2dfdd1..04bf6e8ad7 100644 --- a/components/net/netdev/src/netdev.c +++ b/components/net/netdev/src/netdev.c @@ -887,7 +887,7 @@ static void netdev_list_if(void) rt_kprintf("%02x ", netdev->hwaddr[index]); } } - else if (netdev->hwaddr_len == NETDEV_IFCONFIG_IEMI_MAX_LEN) + else if (netdev->hwaddr_len == NETDEV_IFCONFIG_IMEI_MAX_LEN) { rt_kprintf("IMEI: "); for (index = 0; index < netdev->hwaddr_len; index++)