CC3351: Not receiving event from CC3351 with MCU SDK R7.2 with invalid password

Part Number: CC3351

Tool/software:

Hello,

Currently, I use MCU SDK version R7.2 with SPI for wlan communication.

I have an event handler which is registered with the call to Wlan_Start. I receive events such as WLAN_EVENT_CONNECT and WLAN_EVENT_DISCONNECT when the device connect / disconnect from a wifi. But, when I send a Wlan_Connect with a wrong password, I don't received event. I would expect to receive a WLAN_EVENT_ERROR.

Should I receive an event in that case or does error has to be managed by another mean like a timeout ?

Thanks,

Gaétan