Fixes for Sailfish regarding pmem and wifi

Change-Id: I44a297eab08545a9b08094744be135821e4539d0