fix: The issue that auto connect not work properly.
Checklist
- 已修改对应的 issue的状态
- MR 的Milestones、Lable都已正确设置
- MR 的 Title、Commit message 足够的简洁且精准
- 足够的信息帮助 reviewer 理解 feature 的大致实现或者 bug 的相关细节
- 等待 merge
Release notes
- add init function calling for supporting csk6002_819s_nano
- add some unit test.
- add reconnect to last ap after disconnecting.
- change return value of wifi_mgr_storage_save_ap returned while ap was existed.