forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-10-22 8ac6c7a54ed1b98d142dce24b11c6de6a1e239a5
kernel/drivers/net/wireless/ath/ath6kl/htc_pipe.c
....@@ -960,8 +960,8 @@
960960 * Thus the possibility of ar->htc_target being NULL
961961 * via ath6kl_recv_complete -> ath6kl_usb_io_comp_work.
962962 */
963
- if (WARN_ON_ONCE(!target)) {
964
- ath6kl_err("Target not yet initialized\n");
963
+ if (!target) {
964
+ ath6kl_dbg(ATH6KL_DBG_HTC, "Target not yet initialized\n");
965965 status = -EINVAL;
966966 goto free_skb;
967967 }