Add parameter checking and error reporting to wpa_blacklist API