fix wifi passwords being reset after a reboot.

* Was used to fix the same issue on the HTC m8 and is also present in
stock version of this file for our device. Must have been overlooked