diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2009-04-20 12:49:39 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-04-22 16:57:18 -0400 |
commit | ba44cb7226afd4e19308c1d8a90e8b7c566c0d8b (patch) | |
tree | 83c398ff2e4ad5c41996771cf7130a5c0e255511 /net/wireless | |
parent | 9d308429a9fd0fa644f0b748f6241631f74a6cda (diff) |
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: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/wireless')
-rw-r--r-- | net/wireless/scan.c | 4 | ||||
-rw-r--r-- | net/wireless/wext-compat.c | 24 |
2 files changed, 14 insertions, 14 deletions
diff --git a/net/wireless/scan.c b/net/wireless/scan.c index 1396248dc5c..723aeb3d946 100644 --- a/net/wireless/scan.c +++ b/net/wireless/scan.c | |||
@@ -653,7 +653,7 @@ int cfg80211_wext_siwscan(struct net_device *dev, | |||
653 | cfg80211_put_dev(rdev); | 653 | cfg80211_put_dev(rdev); |
654 | return err; | 654 | return err; |
655 | } | 655 | } |
656 | EXPORT_SYMBOL(cfg80211_wext_siwscan); | 656 | EXPORT_SYMBOL_GPL(cfg80211_wext_siwscan); |
657 | 657 | ||
658 | static void ieee80211_scan_add_ies(struct iw_request_info *info, | 658 | static void ieee80211_scan_add_ies(struct iw_request_info *info, |
659 | struct cfg80211_bss *bss, | 659 | struct cfg80211_bss *bss, |
@@ -962,5 +962,5 @@ int cfg80211_wext_giwscan(struct net_device *dev, | |||
962 | cfg80211_put_dev(rdev); | 962 | cfg80211_put_dev(rdev); |
963 | return res; | 963 | return res; |
964 | } | 964 | } |
965 | EXPORT_SYMBOL(cfg80211_wext_giwscan); | 965 | EXPORT_SYMBOL_GPL(cfg80211_wext_giwscan); |
966 | #endif | 966 | #endif |
diff --git a/net/wireless/wext-compat.c b/net/wireless/wext-compat.c index 3279e7f038d..5ef82f2ca88 100644 --- a/net/wireless/wext-compat.c +++ b/net/wireless/wext-compat.c | |||
@@ -57,7 +57,7 @@ int cfg80211_wext_giwname(struct net_device *dev, | |||
57 | 57 | ||
58 | return 0; | 58 | return 0; |
59 | } | 59 | } |
60 | EXPORT_SYMBOL(cfg80211_wext_giwname); | 60 | EXPORT_SYMBOL_GPL(cfg80211_wext_giwname); |
61 | 61 | ||
62 | int cfg80211_wext_siwmode(struct net_device *dev, struct iw_request_info *info, | 62 | int cfg80211_wext_siwmode(struct net_device *dev, struct iw_request_info *info, |
63 | u32 *mode, char *extra) | 63 | u32 *mode, char *extra) |
@@ -108,7 +108,7 @@ int cfg80211_wext_siwmode(struct net_device *dev, struct iw_request_info *info, | |||
108 | 108 | ||
109 | return ret; | 109 | return ret; |
110 | } | 110 | } |
111 | EXPORT_SYMBOL(cfg80211_wext_siwmode); | 111 | EXPORT_SYMBOL_GPL(cfg80211_wext_siwmode); |
112 | 112 | ||
113 | int cfg80211_wext_giwmode(struct net_device *dev, struct iw_request_info *info, | 113 | int cfg80211_wext_giwmode(struct net_device *dev, struct iw_request_info *info, |
114 | u32 *mode, char *extra) | 114 | u32 *mode, char *extra) |
@@ -143,7 +143,7 @@ int cfg80211_wext_giwmode(struct net_device *dev, struct iw_request_info *info, | |||
143 | } | 143 | } |
144 | return 0; | 144 | return 0; |
145 | } | 145 | } |
146 | EXPORT_SYMBOL(cfg80211_wext_giwmode); | 146 | EXPORT_SYMBOL_GPL(cfg80211_wext_giwmode); |
147 | 147 | ||
148 | 148 | ||
149 | int cfg80211_wext_giwrange(struct net_device *dev, | 149 | int cfg80211_wext_giwrange(struct net_device *dev, |
@@ -239,7 +239,7 @@ int cfg80211_wext_giwrange(struct net_device *dev, | |||
239 | 239 | ||
240 | return 0; | 240 | return 0; |
241 | } | 241 | } |
242 | EXPORT_SYMBOL(cfg80211_wext_giwrange); | 242 | EXPORT_SYMBOL_GPL(cfg80211_wext_giwrange); |
243 | 243 | ||
244 | int cfg80211_wext_siwmlme(struct net_device *dev, | 244 | int cfg80211_wext_siwmlme(struct net_device *dev, |
245 | struct iw_request_info *info, | 245 | struct iw_request_info *info, |
@@ -283,7 +283,7 @@ int cfg80211_wext_siwmlme(struct net_device *dev, | |||
283 | return -EOPNOTSUPP; | 283 | return -EOPNOTSUPP; |
284 | } | 284 | } |
285 | } | 285 | } |
286 | EXPORT_SYMBOL(cfg80211_wext_siwmlme); | 286 | EXPORT_SYMBOL_GPL(cfg80211_wext_siwmlme); |
287 | 287 | ||
288 | 288 | ||
289 | /** | 289 | /** |
@@ -313,7 +313,7 @@ struct ieee80211_channel *cfg80211_wext_freq(struct wiphy *wiphy, | |||
313 | } | 313 | } |
314 | 314 | ||
315 | } | 315 | } |
316 | EXPORT_SYMBOL(cfg80211_wext_freq); | 316 | EXPORT_SYMBOL_GPL(cfg80211_wext_freq); |
317 | 317 | ||
318 | int cfg80211_wext_siwrts(struct net_device *dev, | 318 | int cfg80211_wext_siwrts(struct net_device *dev, |
319 | struct iw_request_info *info, | 319 | struct iw_request_info *info, |
@@ -338,7 +338,7 @@ int cfg80211_wext_siwrts(struct net_device *dev, | |||
338 | 338 | ||
339 | return err; | 339 | return err; |
340 | } | 340 | } |
341 | EXPORT_SYMBOL(cfg80211_wext_siwrts); | 341 | EXPORT_SYMBOL_GPL(cfg80211_wext_siwrts); |
342 | 342 | ||
343 | int cfg80211_wext_giwrts(struct net_device *dev, | 343 | int cfg80211_wext_giwrts(struct net_device *dev, |
344 | struct iw_request_info *info, | 344 | struct iw_request_info *info, |
@@ -352,7 +352,7 @@ int cfg80211_wext_giwrts(struct net_device *dev, | |||
352 | 352 | ||
353 | return 0; | 353 | return 0; |
354 | } | 354 | } |
355 | EXPORT_SYMBOL(cfg80211_wext_giwrts); | 355 | EXPORT_SYMBOL_GPL(cfg80211_wext_giwrts); |
356 | 356 | ||
357 | int cfg80211_wext_siwfrag(struct net_device *dev, | 357 | int cfg80211_wext_siwfrag(struct net_device *dev, |
358 | struct iw_request_info *info, | 358 | struct iw_request_info *info, |
@@ -379,7 +379,7 @@ int cfg80211_wext_siwfrag(struct net_device *dev, | |||
379 | 379 | ||
380 | return err; | 380 | return err; |
381 | } | 381 | } |
382 | EXPORT_SYMBOL(cfg80211_wext_siwfrag); | 382 | EXPORT_SYMBOL_GPL(cfg80211_wext_siwfrag); |
383 | 383 | ||
384 | int cfg80211_wext_giwfrag(struct net_device *dev, | 384 | int cfg80211_wext_giwfrag(struct net_device *dev, |
385 | struct iw_request_info *info, | 385 | struct iw_request_info *info, |
@@ -393,7 +393,7 @@ int cfg80211_wext_giwfrag(struct net_device *dev, | |||
393 | 393 | ||
394 | return 0; | 394 | return 0; |
395 | } | 395 | } |
396 | EXPORT_SYMBOL(cfg80211_wext_giwfrag); | 396 | EXPORT_SYMBOL_GPL(cfg80211_wext_giwfrag); |
397 | 397 | ||
398 | int cfg80211_wext_siwretry(struct net_device *dev, | 398 | int cfg80211_wext_siwretry(struct net_device *dev, |
399 | struct iw_request_info *info, | 399 | struct iw_request_info *info, |
@@ -434,7 +434,7 @@ int cfg80211_wext_siwretry(struct net_device *dev, | |||
434 | 434 | ||
435 | return err; | 435 | return err; |
436 | } | 436 | } |
437 | EXPORT_SYMBOL(cfg80211_wext_siwretry); | 437 | EXPORT_SYMBOL_GPL(cfg80211_wext_siwretry); |
438 | 438 | ||
439 | int cfg80211_wext_giwretry(struct net_device *dev, | 439 | int cfg80211_wext_giwretry(struct net_device *dev, |
440 | struct iw_request_info *info, | 440 | struct iw_request_info *info, |
@@ -464,4 +464,4 @@ int cfg80211_wext_giwretry(struct net_device *dev, | |||
464 | 464 | ||
465 | return 0; | 465 | return 0; |
466 | } | 466 | } |
467 | EXPORT_SYMBOL(cfg80211_wext_giwretry); | 467 | EXPORT_SYMBOL_GPL(cfg80211_wext_giwretry); |