fix invalid encryption settings if no password is set for wireless

...also fix a small typo...