The kernel AES will only be requested if hardware encryption is not
available and if AES is really needed. At that point, a failure to
allocate the AES cipher would be a real problem, not a minor debug
condition.
git-svn-id: http://madwifi-project.org/svn/madwifi/trunk@4121
0192ed92-7a03-0410-a25b-
9323aeb14dbd
#endif
if (ctx->cc_tfm == NULL) {
- IEEE80211_DPRINTF(vap, IEEE80211_MSG_CRYPTO,
- "%s: kernel support for AES "
- "cryptography is not available; the "
- "module may not be loaded.\n",
- __func__);
+ printk(KERN_ERR "%s: kernel AES support is missing; "
+ "some modules may need to be loaded\n",
+ vap->iv_dev->name);
FREE(ctx, M_DEVBUF);
ctx = NULL;
vap->iv_stats.is_crypto_nocipher++;