mirror of
https://github.com/freebsd/freebsd-src
synced 2024-07-22 10:48:02 +00:00
iwlwifi: improve error message
In case we cannot identify the firmware monitor buf_location, print the type (usually 0 = invalid) so we have an idea at least of what was set (or not). MFC after: 3 days
This commit is contained in:
parent
53eb2c63c9
commit
df9d7d1e0e
|
@ -68,7 +68,11 @@ iwl_pcie_ctxt_info_dbg_enable(struct iwl_trans *trans,
|
|||
}
|
||||
break;
|
||||
default:
|
||||
#if defined(__linux__)
|
||||
IWL_ERR(trans, "WRT: Invalid buffer destination\n");
|
||||
#elif defined(__FreeBSD__)
|
||||
IWL_ERR(trans, "WRT: Invalid buffer destination: %d\n", le32_to_cpu(fw_mon_cfg->buf_location));
|
||||
#endif
|
||||
}
|
||||
out:
|
||||
if (dbg_flags)
|
||||
|
|
Loading…
Reference in a new issue