cfg80211: Add missing tracing to cfg80211
[linux-drm-fsl-dcu.git] / net / wireless / nl80211.c
index c71e274c810ac6610df652ec029838000ee7c69d..41e57d0c4d43114222fe8a42ef525349d9d80e43 100644 (file)
@@ -6507,8 +6507,7 @@ static int nl80211_start_radar_detection(struct sk_buff *skb,
        if (WARN_ON(!cac_time_ms))
                cac_time_ms = IEEE80211_DFS_MIN_CAC_TIME_MS;
 
-       err = rdev->ops->start_radar_detection(&rdev->wiphy, dev, &chandef,
-                                              cac_time_ms);
+       err = rdev_start_radar_detection(rdev, dev, &chandef, cac_time_ms);
        if (!err) {
                wdev->chandef = chandef;
                wdev->cac_started = true;
@@ -7571,7 +7570,7 @@ static int nl80211_set_mcast_rate(struct sk_buff *skb, struct genl_info *info)
        if (!nl80211_parse_mcast_rate(rdev, mcast_rate, nla_rate))
                return -EINVAL;
 
-       err = rdev->ops->set_mcast_rate(&rdev->wiphy, dev, mcast_rate);
+       err = rdev_set_mcast_rate(rdev, dev, mcast_rate);
 
        return err;
 }
@@ -9716,7 +9715,7 @@ static int nl80211_set_coalesce(struct sk_buff *skb, struct genl_info *info)
 
        if (!info->attrs[NL80211_ATTR_COALESCE_RULE]) {
                cfg80211_rdev_free_coalesce(rdev);
-               rdev->ops->set_coalesce(&rdev->wiphy, NULL);
+               rdev_set_coalesce(rdev, NULL);
                return 0;
        }
 
@@ -9744,7 +9743,7 @@ static int nl80211_set_coalesce(struct sk_buff *skb, struct genl_info *info)
                i++;
        }
 
-       err = rdev->ops->set_coalesce(&rdev->wiphy, &new_coalesce);
+       err = rdev_set_coalesce(rdev, &new_coalesce);
        if (err)
                goto error;