Bug 999907 - Validate wifi capabilities by checking both undifined and null. r=arthurcc