I am trying to have my module disconnect from an AP, but the system hangs whenever I try. The line that actually causes the system to hang is: wwd_management_set_event_handler(link_events, NULL, 0, WICED_STA_INTERFACE);
I have not been able to reproduce the problem outside of my project (which is large and uses several thread).
Any ideas? Or are there other ways to bring down wifi?
Please start your application using debugger. If your system hangs up, please suspend your application and checkout your threads. You may examine status of your threads and try to determine where it is hanging up and waiting for any resources.
If you are setup with serial terminal, turn on "WPRINT_ENABLE_WWD_DEBUG" to print WWD debug messages. It could help you to identify the issue as well.