cfg80211: remove unused wiphy argument from cfg80211_wext_freq()
[linux-2.6-block.git] / net / wireless / wext-sme.c
index 86c331a65664a77bfe6c083224b7eae2c91f5b9c..c05a0183df3179192d1e8ae0a566e986cdc07065 100644 (file)
@@ -75,7 +75,7 @@ int cfg80211_mgd_wext_siwfreq(struct net_device *dev,
        if (WARN_ON(wdev->iftype != NL80211_IFTYPE_STATION))
                return -EINVAL;
 
-       freq = cfg80211_wext_freq(wdev->wiphy, wextfreq);
+       freq = cfg80211_wext_freq(wextfreq);
        if (freq < 0)
                return freq;