build: support for reflashing hybrid-mode routers (adhoc+ap)