diff options
Diffstat (limited to 'net/wireless/lib80211.c')
-rw-r--r-- | net/wireless/lib80211.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/net/wireless/lib80211.c b/net/wireless/lib80211.c index 97d411f74507..3268fac5ab22 100644 --- a/net/wireless/lib80211.c +++ b/net/wireless/lib80211.c | |||
@@ -13,6 +13,8 @@ | |||
13 | * | 13 | * |
14 | */ | 14 | */ |
15 | 15 | ||
16 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt | ||
17 | |||
16 | #include <linux/module.h> | 18 | #include <linux/module.h> |
17 | #include <linux/ctype.h> | 19 | #include <linux/ctype.h> |
18 | #include <linux/ieee80211.h> | 20 | #include <linux/ieee80211.h> |
@@ -224,8 +226,8 @@ int lib80211_unregister_crypto_ops(struct lib80211_crypto_ops *ops) | |||
224 | return -EINVAL; | 226 | return -EINVAL; |
225 | 227 | ||
226 | found: | 228 | found: |
227 | printk(KERN_DEBUG "lib80211_crypt: unregistered algorithm " | 229 | printk(KERN_DEBUG "lib80211_crypt: unregistered algorithm '%s'\n", |
228 | "'%s'\n", ops->name); | 230 | ops->name); |
229 | list_del(&alg->list); | 231 | list_del(&alg->list); |
230 | spin_unlock_irqrestore(&lib80211_crypto_lock, flags); | 232 | spin_unlock_irqrestore(&lib80211_crypto_lock, flags); |
231 | kfree(alg); | 233 | kfree(alg); |
@@ -270,7 +272,7 @@ static struct lib80211_crypto_ops lib80211_crypt_null = { | |||
270 | 272 | ||
271 | static int __init lib80211_init(void) | 273 | static int __init lib80211_init(void) |
272 | { | 274 | { |
273 | printk(KERN_INFO DRV_NAME ": " DRV_DESCRIPTION "\n"); | 275 | pr_info(DRV_DESCRIPTION "\n"); |
274 | return lib80211_register_crypto_ops(&lib80211_crypt_null); | 276 | return lib80211_register_crypto_ops(&lib80211_crypt_null); |
275 | } | 277 | } |
276 | 278 | ||