Control Bebop2 as client (managed mode) via router

When I try wifi mode of Bebop2 (firmware 4.0.5) to change from master mode to managed mode, SSID of Bebop2 is often empty, invisible, that is the connection between router and Bebop2 cannot be created.
Please ask me how to connect Bebop2 with managed mode.