Add chip_id to error dmesg
This commit is contained in:
parent
e9dc537b22
commit
26eb2b086f
@ -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);
|
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) {
|
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;
|
return HALMAC_RET_CHIP_NOT_SUPPORT;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user