diff options
author | Chin-Yen Lee <timlee@realtek.com> | 2023-10-16 13:35:53 +0800 |
---|---|---|
committer | Kalle Valo <kvalo@kernel.org> | 2023-10-19 10:28:02 +0300 |
commit | 1926a27299db00239d6bdc4c3f2bd3f842277d0d (patch) | |
tree | 512c2de1de925fc19ec78f1c994b3694d1f36a19 /drivers/net/wireless/realtek/rtw88/main.h | |
parent | 9a66e73094add3d5f330db83982aa20591189fcc (diff) |
wifi: rtw88: debug: add to check if debug mask is enabled
The coming dump function for FW malfunction will add a function to
dump registers to reflect status. However, if we are not debugging
the mechanism, we don't print anything, so avoid reading registers by
checking debug mask to reduce IO.
Signed-off-by: Chin-Yen Lee <timlee@realtek.com>
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20231016053554.744180-2-pkshih@realtek.com
Diffstat (limited to 'drivers/net/wireless/realtek/rtw88/main.h')
0 files changed, 0 insertions, 0 deletions