Commit ba44cb72 authored by Johannes Berg's avatar Johannes Berg Committed by John W. Linville

cfg80211: mark all WEXT handlers _GPL

The fact that these are exported is a technical detail
of the conversion period -- we don't want anybody to
start relying on these. Ultimately we want things to
use cfg80211 only, and once everything that is in wext
is converted to cfg80211 drivers will not need to touch
wext _at all_.
Signed-off-by: default avatarJohannes Berg <johannes@sipsolutions.net>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 9d308429
...@@ -653,7 +653,7 @@ int cfg80211_wext_siwscan(struct net_device *dev, ...@@ -653,7 +653,7 @@ int cfg80211_wext_siwscan(struct net_device *dev,
cfg80211_put_dev(rdev); cfg80211_put_dev(rdev);
return err; return err;
} }
EXPORT_SYMBOL(cfg80211_wext_siwscan); EXPORT_SYMBOL_GPL(cfg80211_wext_siwscan);
static void ieee80211_scan_add_ies(struct iw_request_info *info, static void ieee80211_scan_add_ies(struct iw_request_info *info,
struct cfg80211_bss *bss, struct cfg80211_bss *bss,
...@@ -962,5 +962,5 @@ int cfg80211_wext_giwscan(struct net_device *dev, ...@@ -962,5 +962,5 @@ int cfg80211_wext_giwscan(struct net_device *dev,
cfg80211_put_dev(rdev); cfg80211_put_dev(rdev);
return res; return res;
} }
EXPORT_SYMBOL(cfg80211_wext_giwscan); EXPORT_SYMBOL_GPL(cfg80211_wext_giwscan);
#endif #endif
...@@ -57,7 +57,7 @@ int cfg80211_wext_giwname(struct net_device *dev, ...@@ -57,7 +57,7 @@ int cfg80211_wext_giwname(struct net_device *dev,
return 0; return 0;
} }
EXPORT_SYMBOL(cfg80211_wext_giwname); EXPORT_SYMBOL_GPL(cfg80211_wext_giwname);
int cfg80211_wext_siwmode(struct net_device *dev, struct iw_request_info *info, int cfg80211_wext_siwmode(struct net_device *dev, struct iw_request_info *info,
u32 *mode, char *extra) u32 *mode, char *extra)
...@@ -108,7 +108,7 @@ int cfg80211_wext_siwmode(struct net_device *dev, struct iw_request_info *info, ...@@ -108,7 +108,7 @@ int cfg80211_wext_siwmode(struct net_device *dev, struct iw_request_info *info,
return ret; return ret;
} }
EXPORT_SYMBOL(cfg80211_wext_siwmode); EXPORT_SYMBOL_GPL(cfg80211_wext_siwmode);
int cfg80211_wext_giwmode(struct net_device *dev, struct iw_request_info *info, int cfg80211_wext_giwmode(struct net_device *dev, struct iw_request_info *info,
u32 *mode, char *extra) u32 *mode, char *extra)
...@@ -143,7 +143,7 @@ int cfg80211_wext_giwmode(struct net_device *dev, struct iw_request_info *info, ...@@ -143,7 +143,7 @@ int cfg80211_wext_giwmode(struct net_device *dev, struct iw_request_info *info,
} }
return 0; return 0;
} }
EXPORT_SYMBOL(cfg80211_wext_giwmode); EXPORT_SYMBOL_GPL(cfg80211_wext_giwmode);
int cfg80211_wext_giwrange(struct net_device *dev, int cfg80211_wext_giwrange(struct net_device *dev,
...@@ -239,7 +239,7 @@ int cfg80211_wext_giwrange(struct net_device *dev, ...@@ -239,7 +239,7 @@ int cfg80211_wext_giwrange(struct net_device *dev,
return 0; return 0;
} }
EXPORT_SYMBOL(cfg80211_wext_giwrange); EXPORT_SYMBOL_GPL(cfg80211_wext_giwrange);
int cfg80211_wext_siwmlme(struct net_device *dev, int cfg80211_wext_siwmlme(struct net_device *dev,
struct iw_request_info *info, struct iw_request_info *info,
...@@ -283,7 +283,7 @@ int cfg80211_wext_siwmlme(struct net_device *dev, ...@@ -283,7 +283,7 @@ int cfg80211_wext_siwmlme(struct net_device *dev,
return -EOPNOTSUPP; return -EOPNOTSUPP;
} }
} }
EXPORT_SYMBOL(cfg80211_wext_siwmlme); EXPORT_SYMBOL_GPL(cfg80211_wext_siwmlme);
/** /**
...@@ -313,7 +313,7 @@ struct ieee80211_channel *cfg80211_wext_freq(struct wiphy *wiphy, ...@@ -313,7 +313,7 @@ struct ieee80211_channel *cfg80211_wext_freq(struct wiphy *wiphy,
} }
} }
EXPORT_SYMBOL(cfg80211_wext_freq); EXPORT_SYMBOL_GPL(cfg80211_wext_freq);
int cfg80211_wext_siwrts(struct net_device *dev, int cfg80211_wext_siwrts(struct net_device *dev,
struct iw_request_info *info, struct iw_request_info *info,
...@@ -338,7 +338,7 @@ int cfg80211_wext_siwrts(struct net_device *dev, ...@@ -338,7 +338,7 @@ int cfg80211_wext_siwrts(struct net_device *dev,
return err; return err;
} }
EXPORT_SYMBOL(cfg80211_wext_siwrts); EXPORT_SYMBOL_GPL(cfg80211_wext_siwrts);
int cfg80211_wext_giwrts(struct net_device *dev, int cfg80211_wext_giwrts(struct net_device *dev,
struct iw_request_info *info, struct iw_request_info *info,
...@@ -352,7 +352,7 @@ int cfg80211_wext_giwrts(struct net_device *dev, ...@@ -352,7 +352,7 @@ int cfg80211_wext_giwrts(struct net_device *dev,
return 0; return 0;
} }
EXPORT_SYMBOL(cfg80211_wext_giwrts); EXPORT_SYMBOL_GPL(cfg80211_wext_giwrts);
int cfg80211_wext_siwfrag(struct net_device *dev, int cfg80211_wext_siwfrag(struct net_device *dev,
struct iw_request_info *info, struct iw_request_info *info,
...@@ -379,7 +379,7 @@ int cfg80211_wext_siwfrag(struct net_device *dev, ...@@ -379,7 +379,7 @@ int cfg80211_wext_siwfrag(struct net_device *dev,
return err; return err;
} }
EXPORT_SYMBOL(cfg80211_wext_siwfrag); EXPORT_SYMBOL_GPL(cfg80211_wext_siwfrag);
int cfg80211_wext_giwfrag(struct net_device *dev, int cfg80211_wext_giwfrag(struct net_device *dev,
struct iw_request_info *info, struct iw_request_info *info,
...@@ -393,7 +393,7 @@ int cfg80211_wext_giwfrag(struct net_device *dev, ...@@ -393,7 +393,7 @@ int cfg80211_wext_giwfrag(struct net_device *dev,
return 0; return 0;
} }
EXPORT_SYMBOL(cfg80211_wext_giwfrag); EXPORT_SYMBOL_GPL(cfg80211_wext_giwfrag);
int cfg80211_wext_siwretry(struct net_device *dev, int cfg80211_wext_siwretry(struct net_device *dev,
struct iw_request_info *info, struct iw_request_info *info,
...@@ -434,7 +434,7 @@ int cfg80211_wext_siwretry(struct net_device *dev, ...@@ -434,7 +434,7 @@ int cfg80211_wext_siwretry(struct net_device *dev,
return err; return err;
} }
EXPORT_SYMBOL(cfg80211_wext_siwretry); EXPORT_SYMBOL_GPL(cfg80211_wext_siwretry);
int cfg80211_wext_giwretry(struct net_device *dev, int cfg80211_wext_giwretry(struct net_device *dev,
struct iw_request_info *info, struct iw_request_info *info,
...@@ -464,4 +464,4 @@ int cfg80211_wext_giwretry(struct net_device *dev, ...@@ -464,4 +464,4 @@ int cfg80211_wext_giwretry(struct net_device *dev,
return 0; return 0;
} }
EXPORT_SYMBOL(cfg80211_wext_giwretry); EXPORT_SYMBOL_GPL(cfg80211_wext_giwretry);
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment