Commit 5ca9a4e
committed
wifi: rtw89: Hide some errors when the device is unplugged
JIRA: https://issues.redhat.com/browse/RHEL-114889
commit 0740c6b
Author: Bitterblue Smith <rtl8821cerfe2@gmail.com>
Date: Mon Jun 30 23:45:02 2025 +0300
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
Signed-off-by: Jose Ignacio Tornos Martinez <jtornosm@redhat.com>1 parent bb45253 commit 5ca9a4e
3 files changed
+11
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4995 | 4995 | | |
4996 | 4996 | | |
4997 | 4997 | | |
| 4998 | + | |
4998 | 4999 | | |
4999 | 5000 | | |
5000 | 5001 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
91 | | - | |
| 91 | + | |
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
| |||
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
107 | | - | |
| 107 | + | |
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
| |||
5922 | 5922 | | |
5923 | 5923 | | |
5924 | 5924 | | |
5925 | | - | |
| 5925 | + | |
| 5926 | + | |
5926 | 5927 | | |
5927 | 5928 | | |
5928 | 5929 | | |
5929 | 5930 | | |
5930 | 5931 | | |
5931 | | - | |
| 5932 | + | |
| 5933 | + | |
5932 | 5934 | | |
5933 | 5935 | | |
5934 | 5936 | | |
| |||
6052 | 6054 | | |
6053 | 6055 | | |
6054 | 6056 | | |
6055 | | - | |
| 6057 | + | |
| 6058 | + | |
6056 | 6059 | | |
6057 | 6060 | | |
6058 | 6061 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
897 | 897 | | |
898 | 898 | | |
899 | 899 | | |
900 | | - | |
| 900 | + | |
| 901 | + | |
901 | 902 | | |
902 | 903 | | |
903 | 904 | | |
| |||
0 commit comments