]> www.infradead.org Git - users/jedix/linux-maple.git/commit
wifi: ath12k: Fix scan initiation failure handling
authorVignesh C <quic_vignc@quicinc.com>
Mon, 12 May 2025 06:58:49 +0000 (12:28 +0530)
committerJeff Johnson <jeff.johnson@oss.qualcomm.com>
Mon, 19 May 2025 17:45:40 +0000 (10:45 -0700)
commit241dfac96279ce9de47a6d4478dd3d41f262835f
tree032e7785dcb28ff213cc3bf356f7c7eb6c6dd14d
parent246eb353fbe9136ab3dd2ef979764a13984989e2
wifi: ath12k: Fix scan initiation failure handling

During a code review, it is observed that in the scenario
where scan initiation fails, the current code schedules the
ar->scan.timeout workqueue which is not necessary.

In the scan initiation failure scenario, exit the code instead
of scheduling the ar->scan.timeout workqueue.

Compile tested only.

Signed-off-by: Vignesh C <quic_vignc@quicinc.com>
Link: https://patch.msgid.link/20250512065849.2833232-1-quic_vignc@quicinc.com
Signed-off-by: Jeff Johnson <jeff.johnson@oss.qualcomm.com>
drivers/net/wireless/ath/ath12k/mac.c