OSDN Git Service

wifi: ath11k: print a warning when crypto_alloc_shash() fails
authorKalle Valo <quic_kvalo@quicinc.com>
Wed, 5 Apr 2023 09:04:25 +0000 (12:04 +0300)
committerKalle Valo <quic_kvalo@quicinc.com>
Mon, 17 Apr 2023 10:18:57 +0000 (13:18 +0300)
commita87a9110ac0dcbfd9458b6665c141fa1c16a669d
tree925a7bcf32d49099f18ff776b3c7fc29e269abe3
parent06c58473969239e00d76b683edd511952060ca56
wifi: ath11k: print a warning when crypto_alloc_shash() fails

Christoph reported that ath11k failed to initialise when michael_mic.ko
module was not installed. To make it easier to notice that case print a
warning when crypto_alloc_shash() fails.

Compile tested only.

Reported-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/all/20221130133016.GC3055@lst.de/
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
Link: https://lore.kernel.org/r/20230405090425.1351-1-kvalo@kernel.org
drivers/net/wireless/ath/ath11k/dp_rx.c