Skip to content
Commit 6edb4ba6 authored by Minjie Du's avatar Minjie Du Committed by Kalle Valo
Browse files

wifi: ath9k: fix parameter check in ath9k_init_debug()



Make IS_ERR() judge the debugfs_create_dir() function return
in ath9k_init_debug()

Signed-off-by: default avatarMinjie Du <duminjie@vivo.com>
Acked-by: default avatarToke Høiland-Jørgensen <toke@toke.dk>
Signed-off-by: default avatarKalle Valo <quic_kvalo@quicinc.com>
Link: https://lore.kernel.org/r/20230712114740.13226-1-duminjie@vivo.com
parent 454994cf
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment