network: Build fixes

The WPA key size was missing, and we were comparing strings by pointer
address.