Another simple example:
if (wpa_s->mlme.ssid_len == 0) return -EINVAL;
Why the unary minus? Is this (usually) done for functions that re