From 26eb2b086f23a5364c641dfc7c2276df9f783e1b Mon Sep 17 00:00:00 2001 From: Martin D Kealey Date: Mon, 26 Sep 2022 16:16:57 +1000 Subject: [PATCH] Add chip_id to error dmesg --- hal/halmac/halmac_api.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hal/halmac/halmac_api.c b/hal/halmac/halmac_api.c index a841f61..7ed6ede 100644 --- a/hal/halmac/halmac_api.c +++ b/hal/halmac/halmac_api.c @@ -541,7 +541,7 @@ get_chip_info(void *drv_adapter, struct halmac_platform_api *pltfm_api, PLTFM_MSG_TRACE("chip_id=0x%02x, chip_ver=0x%02x, halmac_chip_id=0x%02x\n", chip_id, chip_ver, hmcid); if (hmcid == HALMAC_CHIP_ID_UNDEFINE) { - PLTFM_MSG_ERR("[ERR]Chip id is undefined\n"); + PLTFM_MSG_ERR("[ERR]Chip id 0x%02x is undefined\n", chip_id); return HALMAC_RET_CHIP_NOT_SUPPORT; }