cfg80211: remove unused wiphy argument from cfg80211_wext_freq()

cfg80211_wext_freq() is declared in wext-compat.h, but its
parameter struct wiphy's declaration is not included there.
As the parameter isn't used, just remove it.

Signed-off-by: Zhao, Gang <gamerh2o@gmail.com>
[remove parameter instead of changing to netdev]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
此提交包含在:
Zhao, Gang
2014-04-09 09:28:06 +08:00
提交者 Johannes Berg
父節點 aa51142fc5
當前提交 96998e3a2f
共有 5 個檔案被更改,包括 12 行新增8 行删除

查看文件

@@ -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;