aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/wext.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/mac80211/wext.c')
-rw-r--r--net/mac80211/wext.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac80211/wext.c b/net/mac80211/wext.c
index 1a649da42c41..6b4eb8d43a4e 100644
--- a/net/mac80211/wext.c
+++ b/net/mac80211/wext.c
@@ -185,7 +185,7 @@ static int ieee80211_ioctl_giwfreq(struct net_device *dev,
185 if (sdata->vif.type == NL80211_IFTYPE_ADHOC) 185 if (sdata->vif.type == NL80211_IFTYPE_ADHOC)
186 return cfg80211_ibss_wext_giwfreq(dev, info, freq, extra); 186 return cfg80211_ibss_wext_giwfreq(dev, info, freq, extra);
187 187
188 freq->m = local->hw.conf.channel->center_freq; 188 freq->m = local->oper_channel->center_freq;
189 freq->e = 6; 189 freq->e = 6;
190 190
191 return 0; 191 return 0;