aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/driver-ops.h
diff options
context:
space:
mode:
Diffstat (limited to 'net/mac80211/driver-ops.h')
-rw-r--r--net/mac80211/driver-ops.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/net/mac80211/driver-ops.h b/net/mac80211/driver-ops.h
index c3d844093a2f..d1f8a7c2225a 100644
--- a/net/mac80211/driver-ops.h
+++ b/net/mac80211/driver-ops.h
@@ -346,6 +346,15 @@ static inline int drv_ampdu_action(struct ieee80211_local *local,
346 return ret; 346 return ret;
347} 347}
348 348
349static inline int drv_get_survey(struct ieee80211_local *local, int idx,
350 struct survey_info *survey)
351{
352 int ret = -EOPNOTSUPP;
353 if (local->ops->conf_tx)
354 ret = local->ops->get_survey(&local->hw, idx, survey);
355 /* trace_drv_get_survey(local, idx, survey, ret); */
356 return ret;
357}
349 358
350static inline void drv_rfkill_poll(struct ieee80211_local *local) 359static inline void drv_rfkill_poll(struct ieee80211_local *local)
351{ 360{