Backport from lotus

Everything related to wifi is fixed. Bootrec needs rework (for leds)