summaryrefslogtreecommitdiffstats
path: root/net/wireless/core.h
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2013-05-08 21:34:22 +0200
committerJohannes Berg <johannes.berg@intel.com>2013-05-25 00:02:13 +0200
commit9f419f3851041e0c8170629f0639813dbfc79d5e (patch)
tree881b599ab8ee0c0924d7152bf4e330aa36213609 /net/wireless/core.h
parentdde7dc759b777f385fc5df2af691c82eb455c7f3 (diff)
downloadlinux-9f419f3851041e0c8170629f0639813dbfc79d5e.tar.bz2
cfg80211: move cfg80211_get_dev_from_ifindex under wext
The function is only used and needed by the wext code for scanning, so move it there. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/wireless/core.h')
-rw-r--r--net/wireless/core.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/net/wireless/core.h b/net/wireless/core.h
index fd35dae547c4..95b29075a9c8 100644
--- a/net/wireless/core.h
+++ b/net/wireless/core.h
@@ -164,10 +164,6 @@ int get_wiphy_idx(struct wiphy *wiphy);
/* requires cfg80211_rdev_mutex to be held! */
struct wiphy *wiphy_idx_to_wiphy(int wiphy_idx);
-/* identical to cfg80211_get_dev_from_info but only operate on ifindex */
-extern struct cfg80211_registered_device *
-cfg80211_get_dev_from_ifindex(struct net *net, int ifindex);
-
int cfg80211_switch_netns(struct cfg80211_registered_device *rdev,
struct net *net);