|
@@ -22083,7 +22083,10 @@ static int __wlan_hdd_cfg80211_flush_pmksa(struct wiphy *wiphy,
|
|
return errno;
|
|
return errno;
|
|
|
|
|
|
status = wlan_hdd_flush_pmksa_cache(adapter);
|
|
status = wlan_hdd_flush_pmksa_cache(adapter);
|
|
- if (QDF_IS_STATUS_ERROR(status)) {
|
|
|
|
|
|
+ if (status == QDF_STATUS_E_NOSUPPORT) {
|
|
|
|
+ errno = -EOPNOTSUPP;
|
|
|
|
+ }
|
|
|
|
+ else if (QDF_IS_STATUS_ERROR(status)) {
|
|
hdd_err("Cannot flush PMKIDCache");
|
|
hdd_err("Cannot flush PMKIDCache");
|
|
errno = -EINVAL;
|
|
errno = -EINVAL;
|
|
}
|
|
}
|