Commit e5c61ff
committed
fix: resolve hotspot status transition issue
When opening a hotspot, the device status was incorrectly showing as
"Connecting" instead of "Disconnected" during the Prepare and Config
phases. This caused visual status jump issues in the UI.
The fix adds special handling for wireless devices in hotspot mode
(AP mode). When a wireless device is in AP mode during Prepare/Config
status, it now returns DS_Disconnected status instead of DS_Connecting
to properly reflect the hotspot state.
Log: Fixed incorrect status display when opening hotspot
Influence:
1. Test opening hotspot and verify status shows as Disconnected during
setup
2. Verify normal wireless connections still show Connecting status
correctly
3. Check status transitions for both hotspot and regular wireless
connections
4. Test hotspot functionality end-to-end to ensure no regression
fix: 修复热点状态跳变问题
当打开热点时,设备状态在准备和配置阶段错误地显示为"正在连接"而非"已断
开"。这导致了UI中的视觉状态跳变问题。
修复方案为热点模式(AP模式)下的无线设备添加特殊处理。当无线设备在准备/
配置状态处于AP模式时,现在返回"已断开"状态而非"正在连接"状态,以正确反映
热点状态。
Log: 修复打开热点时状态显示不正确的问题
Influence:
1. 测试打开热点功能,验证设置过程中状态正确显示为已断开
2. 验证普通无线连接仍能正确显示正在连接状态
3. 检查热点和普通无线连接的状态转换
4. 端到端测试热点功能确保无回归问题
Fixes: #3454131 parent 8274103 commit e5c61ff
File tree
2 files changed
+38
-1
lines changed- net-view/operation/private
2 files changed
+38
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3042 | 3042 | | |
3043 | 3043 | | |
3044 | 3044 | | |
| 3045 | + | |
| 3046 | + | |
| 3047 | + | |
| 3048 | + | |
| 3049 | + | |
| 3050 | + | |
| 3051 | + | |
| 3052 | + | |
| 3053 | + | |
| 3054 | + | |
| 3055 | + | |
| 3056 | + | |
| 3057 | + | |
| 3058 | + | |
| 3059 | + | |
| 3060 | + | |
| 3061 | + | |
| 3062 | + | |
| 3063 | + | |
| 3064 | + | |
| 3065 | + | |
| 3066 | + | |
| 3067 | + | |
| 3068 | + | |
| 3069 | + | |
| 3070 | + | |
| 3071 | + | |
| 3072 | + | |
| 3073 | + | |
| 3074 | + | |
| 3075 | + | |
| 3076 | + | |
| 3077 | + | |
| 3078 | + | |
3045 | 3079 | | |
3046 | 3080 | | |
3047 | 3081 | | |
| |||
3080 | 3114 | | |
3081 | 3115 | | |
3082 | 3116 | | |
3083 | | - | |
| 3117 | + | |
| 3118 | + | |
| 3119 | + | |
3084 | 3120 | | |
3085 | 3121 | | |
3086 | 3122 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
262 | 262 | | |
263 | 263 | | |
264 | 264 | | |
| 265 | + | |
265 | 266 | | |
266 | 267 | | |
267 | 268 | | |
| |||
0 commit comments