Commit 614d0d0
committed
fix: resolve hotspot device not updating when network interface changes
Changed from QTimer to counter mechanism for handling network
configuration updates
Removed QTimer and replaced with integer counter to track update cycles
Fixed issue where hotspot devices were not properly updated when network
interfaces changed
The previous timer approach could miss updates if network changes
occurred rapidly
New counter mechanism ensures proper sequencing of configuration updates
Log: Fixed hotspot device update issue when network interfaces change
Influence:
1. Test hotspot functionality after network interface changes
2. Verify hotspot configuration updates properly
3. Check that password retrieval works correctly after network changes
4. Test multiple rapid network interface changes
5. Verify user active state handling remains functional
fix: 修复网卡变化时热点设备未更新问题
从 QTimer 改为计数器机制处理网络配置更新
移除 QTimer 并使用整数计数器跟踪更新周期
修复当网络接口变化时热点设备未能正确更新的问题
之前的定时器方法在快速网络变化时可能错过更新
新的计数器机制确保配置更新的正确顺序
Log: 修复网卡变化时热点设备更新问题
Influence:
1. 测试网络接口变化后的热点功能
2. 验证热点配置是否正确更新
3. 检查网络变化后密码获取功能是否正常
4. 测试多次快速网络接口变化
5. 验证用户活跃状态处理保持正常
PMS: BUG-3033891 parent 03b0ef4 commit 614d0d0
File tree
2 files changed
+16
-7
lines changed- net-view/operation/private
2 files changed
+16
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
24 | 24 | | |
25 | | - | |
26 | | - | |
27 | 25 | | |
28 | 26 | | |
29 | 27 | | |
| |||
34 | 32 | | |
35 | 33 | | |
36 | 34 | | |
37 | | - | |
| 35 | + | |
38 | 36 | | |
39 | 37 | | |
40 | 38 | | |
| |||
131 | 129 | | |
132 | 130 | | |
133 | 131 | | |
| 132 | + | |
134 | 133 | | |
135 | 134 | | |
136 | 135 | | |
137 | 136 | | |
138 | 137 | | |
139 | | - | |
| 138 | + | |
140 | 139 | | |
141 | 140 | | |
142 | 141 | | |
| |||
176 | 175 | | |
177 | 176 | | |
178 | 177 | | |
179 | | - | |
| 178 | + | |
180 | 179 | | |
181 | 180 | | |
182 | 181 | | |
| |||
226 | 225 | | |
227 | 226 | | |
228 | 227 | | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
229 | 237 | | |
230 | 238 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| 49 | + | |
49 | 50 | | |
50 | 51 | | |
51 | 52 | | |
| |||
57 | 58 | | |
58 | 59 | | |
59 | 60 | | |
60 | | - | |
| 61 | + | |
61 | 62 | | |
62 | 63 | | |
63 | 64 | | |
| |||
0 commit comments