there is a bug on this v1.12 firmware.
it switches to ADHOC wifi too early when it looses connection to router.
my router will auto reboot at sometime (4am) and will take about 3-5mins.
the previous 5020L firmware v1.10 dont have this issue
after 3 months. dlink have fixed this issue in firmware v1.13. the camera can now reconnect to router if the router restarts