Ver código fonte

Merge "Revert "qca-wifi: Remove duplicate invoke of restart clear API""

Linux Build Service Account 5 anos atrás
pai
commit
8a2a554e97
1 arquivos alterados com 3 adições e 0 exclusões
  1. 3 0
      umac/mlme/vdev_mgr/core/src/vdev_mlme_sm_actions.c

+ 3 - 0
umac/mlme/vdev_mgr/core/src/vdev_mlme_sm_actions.c

@@ -524,6 +524,9 @@ static QDF_STATUS mlme_vdev_stop_send_cb(struct vdev_mlme_obj *vdev_mlme,
 		return QDF_STATUS_E_FAILURE;
 	}
 
+	/* if restart is pending on this VDEV, clear the bitmap */
+	mlme_stop_pending_restart(pdev, vdev);
+
 	error = mlme_vdev_ops_stop_fw_send(vdev);
 
 	return error;