diff options
Diffstat (limited to 'net/mac80211/driver-ops.h')
-rw-r--r-- | net/mac80211/driver-ops.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac80211/driver-ops.h b/net/mac80211/driver-ops.h index d1139e4f88a9..7d18a3245e3d 100644 --- a/net/mac80211/driver-ops.h +++ b/net/mac80211/driver-ops.h | |||
@@ -360,7 +360,7 @@ static inline int drv_get_survey(struct ieee80211_local *local, int idx, | |||
360 | struct survey_info *survey) | 360 | struct survey_info *survey) |
361 | { | 361 | { |
362 | int ret = -EOPNOTSUPP; | 362 | int ret = -EOPNOTSUPP; |
363 | if (local->ops->conf_tx) | 363 | if (local->ops->get_survey) |
364 | ret = local->ops->get_survey(&local->hw, idx, survey); | 364 | ret = local->ops->get_survey(&local->hw, idx, survey); |
365 | /* trace_drv_get_survey(local, idx, survey, ret); */ | 365 | /* trace_drv_get_survey(local, idx, survey, ret); */ |
366 | return ret; | 366 | return ret; |