RT-Thread / RT-Thread/rt-thread
[Bug] 当使能RT_WLAN_AUTO_CONNECT_ENABLE,如果此时调用wifi disconnect,wifi会重连
Open
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 12.2k
- Forks
- 5.4k
- Avg merge
- 4d 12h
- Merged PRs (30d)
- 40
Description
RT-Thread Version
lastest
Hardware Type/Architectures
k230
Develop Toolchain
Other
Describe the bug
- station模式下,使能RT_WLAN_AUTO_CONNECT_ENABLE且enable autoreconnect
- wifi_disconnect 之后,wifi又重新连接。
期待行为,主动wifi disconnect,就算开启了autoreconnect,也不应该重连
Other additional context
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the problem on K230 with RT_WLAN_AUTO_CONNECT_ENABLE and auto-reconnect enabled, then trace the wifi_disconnect and auto-reconnect paths. Done means an intentional wifi disconnect remains disconnected while automatic reconnection still handles unintentional connection loss.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- embedded-iot, networking
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100