diff options
| author | Bitterblue Smith <rtl8821cerfe2@gmail.com> | 2025-06-30 23:45:02 +0300 |
|---|---|---|
| committer | Ping-Ke Shih <pkshih@realtek.com> | 2025-07-04 10:43:59 +0800 |
| commit | 0740c6beefae03066a562e3047959528d8893709 (patch) | |
| tree | 5ee883340126fb6ea5b30821bc0a4b8130328549 /scripts/gcc-plugins/gcc-common.h | |
| parent | ec542d5e4bf660463d8d578ecebb511cbfe66558 (diff) | |
wifi: rtw89: Hide some errors when the device is unplugged
A few unnecessary error messages are printed when the device is
unplugged. "read swsi busy" in particular can appear ~1000 times when
RTL8851BU is unplugged.
Add a new flag RTW89_FLAG_UNPLUGGED and print some error messages only
when this flag is not set. The new USB driver will set the flag when
the device is unplugged.
Signed-off-by: Bitterblue Smith <rtl8821cerfe2@gmail.com>
Acked-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Link: https://patch.msgid.link/cc18b739-6f38-4c1a-a681-1e2a0d4ed60d@gmail.com
Diffstat (limited to 'scripts/gcc-plugins/gcc-common.h')
0 files changed, 0 insertions, 0 deletions
