netd: fix WPA-PSK hotspot encryption for legacy hostapd

Change-Id: I695ccccbe5efb53a6b76e0b2527494f96b36760f