diff options
author | Ping-Ke Shih <pkshih@realtek.com> | 2023-11-22 14:04:55 +0800 |
---|---|---|
committer | Kalle Valo <kvalo@kernel.org> | 2023-11-30 21:45:21 +0200 |
commit | 77abbabaafe5d14ed033adb6969c54d42faf67f0 (patch) | |
tree | f5c304be77e5341e1180e8eaa57d6f269cd307c6 /drivers/net/wireless/realtek/rtw89/rtw8852a.c | |
parent | bc8263083af60e7e57c6120edbc1f75d6c909a35 (diff) |
wifi: rtw89: debug: add to check if debug mask is enabled
The coming dynamic mechanism of EDCCA adjustment 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: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20231122060458.30878-2-pkshih@realtek.com
Diffstat (limited to 'drivers/net/wireless/realtek/rtw89/rtw8852a.c')
0 files changed, 0 insertions, 0 deletions