mac80211: add basic tracing to drv_get_survey
[deliverable/linux.git] / net / mac80211 / driver-ops.h
index c33317320eeebc4a56cbe6ea706c3b1e9e865359..14123dce544bf960a57d6f06fdbda6bbcc83f88a 100644 (file)
@@ -375,9 +375,14 @@ static inline int drv_get_survey(struct ieee80211_local *local, int idx,
                                struct survey_info *survey)
 {
        int ret = -EOPNOTSUPP;
+
+       trace_drv_get_survey(local, idx, survey);
+
        if (local->ops->get_survey)
                ret = local->ops->get_survey(&local->hw, idx, survey);
-       /* trace_drv_get_survey(local, idx, survey, ret); */
+
+       trace_drv_return_int(local, ret);
+
        return ret;
 }
 
This page took 0.059112 seconds and 5 git commands to generate.