diff options
Diffstat (limited to 'drivers/net/wireless/ipw2x00/libipw_module.c')
-rw-r--r-- | drivers/net/wireless/ipw2x00/libipw_module.c | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/drivers/net/wireless/ipw2x00/libipw_module.c b/drivers/net/wireless/ipw2x00/libipw_module.c index 1ae0b2b02c38..5b8841159b7c 100644 --- a/drivers/net/wireless/ipw2x00/libipw_module.c +++ b/drivers/net/wireless/ipw2x00/libipw_module.c | |||
@@ -53,7 +53,7 @@ | |||
53 | #include "libipw.h" | 53 | #include "libipw.h" |
54 | 54 | ||
55 | #define DRV_DESCRIPTION "802.11 data/management/control stack" | 55 | #define DRV_DESCRIPTION "802.11 data/management/control stack" |
56 | #define DRV_NAME "ieee80211" | 56 | #define DRV_NAME "libipw" |
57 | #define DRV_VERSION LIBIPW_VERSION | 57 | #define DRV_VERSION LIBIPW_VERSION |
58 | #define DRV_COPYRIGHT "Copyright (C) 2004-2005 Intel Corporation <jketreno@linux.intel.com>" | 58 | #define DRV_COPYRIGHT "Copyright (C) 2004-2005 Intel Corporation <jketreno@linux.intel.com>" |
59 | 59 | ||
@@ -143,7 +143,7 @@ int libipw_change_mtu(struct net_device *dev, int new_mtu) | |||
143 | } | 143 | } |
144 | EXPORT_SYMBOL(libipw_change_mtu); | 144 | EXPORT_SYMBOL(libipw_change_mtu); |
145 | 145 | ||
146 | struct net_device *alloc_ieee80211(int sizeof_priv, int monitor) | 146 | struct net_device *alloc_libipw(int sizeof_priv, int monitor) |
147 | { | 147 | { |
148 | struct libipw_device *ieee; | 148 | struct libipw_device *ieee; |
149 | struct net_device *dev; | 149 | struct net_device *dev; |
@@ -225,8 +225,9 @@ failed_free_netdev: | |||
225 | failed: | 225 | failed: |
226 | return NULL; | 226 | return NULL; |
227 | } | 227 | } |
228 | EXPORT_SYMBOL(alloc_libipw); | ||
228 | 229 | ||
229 | void free_ieee80211(struct net_device *dev, int monitor) | 230 | void free_libipw(struct net_device *dev, int monitor) |
230 | { | 231 | { |
231 | struct libipw_device *ieee = netdev_priv(dev); | 232 | struct libipw_device *ieee = netdev_priv(dev); |
232 | 233 | ||
@@ -240,6 +241,7 @@ void free_ieee80211(struct net_device *dev, int monitor) | |||
240 | 241 | ||
241 | free_netdev(dev); | 242 | free_netdev(dev); |
242 | } | 243 | } |
244 | EXPORT_SYMBOL(free_libipw); | ||
243 | 245 | ||
244 | #ifdef CONFIG_LIBIPW_DEBUG | 246 | #ifdef CONFIG_LIBIPW_DEBUG |
245 | 247 | ||
@@ -294,7 +296,7 @@ static int __init libipw_init(void) | |||
294 | struct proc_dir_entry *e; | 296 | struct proc_dir_entry *e; |
295 | 297 | ||
296 | libipw_debug_level = debug; | 298 | libipw_debug_level = debug; |
297 | libipw_proc = proc_mkdir(DRV_NAME, init_net.proc_net); | 299 | libipw_proc = proc_mkdir("ieee80211", init_net.proc_net); |
298 | if (libipw_proc == NULL) { | 300 | if (libipw_proc == NULL) { |
299 | LIBIPW_ERROR("Unable to create " DRV_NAME | 301 | LIBIPW_ERROR("Unable to create " DRV_NAME |
300 | " proc directory\n"); | 302 | " proc directory\n"); |
@@ -334,6 +336,3 @@ MODULE_PARM_DESC(debug, "debug output mask"); | |||
334 | 336 | ||
335 | module_exit(libipw_exit); | 337 | module_exit(libipw_exit); |
336 | module_init(libipw_init); | 338 | module_init(libipw_init); |
337 | |||
338 | EXPORT_SYMBOL(alloc_ieee80211); | ||
339 | EXPORT_SYMBOL(free_ieee80211); | ||