Message ID | 201006071633.49820.holgerschurig@gmail.com (mailing list archive) |
---|---|
State | Not Applicable, archived |
Headers | show |
--- linux-wl.orig/net/mac80211/driver-ops.h +++ linux-wl/net/mac80211/driver-ops.h @@ -360,7 +360,7 @@ static inline int drv_get_survey(struct struct survey_info *survey) { int ret = -EOPNOTSUPP; - if (local->ops->conf_tx) + if (local->ops->get_survey) ret = local->ops->get_survey(&local->hw, idx, survey); /* trace_drv_get_survey(local, idx, survey, ret); */ return ret;