wifi: ath11k: suppress add interface error
authorKarthikeyan Periyasamy <quic_periyasa@quicinc.com>
Thu, 6 Oct 2022 00:58:42 +0000 (06:28 +0530)
committerKalle Valo <quic_kvalo@quicinc.com>
Wed, 12 Oct 2022 06:40:38 +0000 (09:40 +0300)
commit638b26652b0438563a76ec90014c8cba34db982b
tree683b427a9c7d768cd418ab05d50febc61a3f40dc
parent3ff51d7416ee1ea2d771051a0ffa1ec8be054768
wifi: ath11k: suppress add interface error

In the VIF (other than monitor type) creation request, we should not
throw the error code when the monitor VIF creation fails, since the
actual VIF creation succeeds. If we throw the error code from driver
then the actual VIF creation get fail. So suppress the monitor VIF
creation error by throwing warning message instead of error code.

Tested-on: QCN9074 hw1.0 PCI WLAN.HK.2.6.0.1-00760-QCAHKSWPL_SILICONZ-1

Signed-off-by: Karthikeyan Periyasamy <quic_periyasa@quicinc.com>
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
Link: https://lore.kernel.org/r/20221006005842.8599-1-quic_periyasa@quicinc.com
drivers/net/wireless/ath/ath11k/mac.c