[PATCH 1/2] wifi: ath12k: fix WARN_ON during ath12k_mac_update_vif_chan

Jeff Johnson quic_jjohnson at quicinc.com
Thu Aug 17 07:20:34 PDT 2023


On 8/2/2023 1:58 AM, Manish Dharanenthiran wrote:
> Fix WARN_ON() from ath12k_mac_update_vif_chan() if vdev is not up.
> Since change_chanctx can be called even before vdev_up.
> 
> Do vdev stop followed by a vdev start in case of vdev is down.
> 
> Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.0-02903-QCAHKSWPL_SILICONZ-1
> 
> Signed-off-by: Manish Dharanenthiran <quic_mdharane at quicinc.com>

Reviewed-by: Jeff Johnson <quic_jjohnson at quicinc.com>




More information about the ath12k mailing list