Commit f6289e5d authored by Andrei Otcheretianski's avatar Andrei Otcheretianski Committed by Johannes Berg
parent 0528e0fd
...@@ -4853,7 +4853,7 @@ static struct cfg80211_acl_data *parse_acl_data(struct wiphy *wiphy, ...@@ -4853,7 +4853,7 @@ static struct cfg80211_acl_data *parse_acl_data(struct wiphy *wiphy,
return ERR_PTR(n_entries); return ERR_PTR(n_entries);
if (n_entries > wiphy->max_acl_mac_addrs) if (n_entries > wiphy->max_acl_mac_addrs)
return ERR_PTR(-ENOTSUPP); return ERR_PTR(-EOPNOTSUPP);
acl = kzalloc(struct_size(acl, mac_addrs, n_entries), GFP_KERNEL); acl = kzalloc(struct_size(acl, mac_addrs, n_entries), GFP_KERNEL);
if (!acl) if (!acl)
...@@ -15907,7 +15907,7 @@ static int parse_tid_conf(struct cfg80211_registered_device *rdev, ...@@ -15907,7 +15907,7 @@ static int parse_tid_conf(struct cfg80211_registered_device *rdev,
if (tid_conf->mask & ~mask) { if (tid_conf->mask & ~mask) {
NL_SET_ERR_MSG(extack, "unsupported TID configuration"); NL_SET_ERR_MSG(extack, "unsupported TID configuration");
return -ENOTSUPP; return -EOPNOTSUPP;
} }
return 0; return 0;
......
...@@ -1046,7 +1046,7 @@ rdev_nan_change_conf(struct cfg80211_registered_device *rdev, ...@@ -1046,7 +1046,7 @@ rdev_nan_change_conf(struct cfg80211_registered_device *rdev,
ret = rdev->ops->nan_change_conf(&rdev->wiphy, wdev, conf, ret = rdev->ops->nan_change_conf(&rdev->wiphy, wdev, conf,
changes); changes);
else else
ret = -ENOTSUPP; ret = -EOPNOTSUPP;
trace_rdev_return_int(&rdev->wiphy, ret); trace_rdev_return_int(&rdev->wiphy, ret);
return ret; return ret;
} }
...@@ -1200,7 +1200,7 @@ rdev_start_radar_detection(struct cfg80211_registered_device *rdev, ...@@ -1200,7 +1200,7 @@ rdev_start_radar_detection(struct cfg80211_registered_device *rdev,
struct cfg80211_chan_def *chandef, struct cfg80211_chan_def *chandef,
u32 cac_time_ms) u32 cac_time_ms)
{ {
int ret = -ENOTSUPP; int ret = -EOPNOTSUPP;
trace_rdev_start_radar_detection(&rdev->wiphy, dev, chandef, trace_rdev_start_radar_detection(&rdev->wiphy, dev, chandef,
cac_time_ms); cac_time_ms);
...@@ -1226,7 +1226,7 @@ rdev_set_mcast_rate(struct cfg80211_registered_device *rdev, ...@@ -1226,7 +1226,7 @@ rdev_set_mcast_rate(struct cfg80211_registered_device *rdev,
struct net_device *dev, struct net_device *dev,
int mcast_rate[NUM_NL80211_BANDS]) int mcast_rate[NUM_NL80211_BANDS])
{ {
int ret = -ENOTSUPP; int ret = -EOPNOTSUPP;
trace_rdev_set_mcast_rate(&rdev->wiphy, dev, mcast_rate); trace_rdev_set_mcast_rate(&rdev->wiphy, dev, mcast_rate);
if (rdev->ops->set_mcast_rate) if (rdev->ops->set_mcast_rate)
...@@ -1239,7 +1239,7 @@ static inline int ...@@ -1239,7 +1239,7 @@ static inline int
rdev_set_coalesce(struct cfg80211_registered_device *rdev, rdev_set_coalesce(struct cfg80211_registered_device *rdev,
struct cfg80211_coalesce *coalesce) struct cfg80211_coalesce *coalesce)
{ {
int ret = -ENOTSUPP; int ret = -EOPNOTSUPP;
trace_rdev_set_coalesce(&rdev->wiphy, coalesce); trace_rdev_set_coalesce(&rdev->wiphy, coalesce);
if (rdev->ops->set_coalesce) if (rdev->ops->set_coalesce)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment