Correct the duration parameter in the wifi_frame_arg structure
In the send_action_frame, the duration parameter must have the uint32 parameter type to be capable to hold the number of msecs to wait (e.g 2000).
In the send_action_frame, the duration parameter must have the uint32 parameter type to be capable to hold the number of msecs to wait (e.g 2000).