diff --git a/net80211/ieee80211_crypto_ccmp.c b/net80211/ieee80211_crypto_ccmp.c index 646ae9c..16864cd 100644 --- a/net80211/ieee80211_crypto_ccmp.c +++ b/net80211/ieee80211_crypto_ccmp.c @@ -123,11 +123,9 @@ ccmp_attach(struct ieee80211vap *vap, struct ieee80211_key *k) #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++;