fix argument of nxsem_wait_uninterruptible

This commit is contained in:
Jakub Zdroik 2023-09-04 08:16:06 +02:00 committed by Xiang Xiao
parent 616828bae4
commit 96a2196beb

View File

@ -2603,7 +2603,7 @@ static sdio_eventset_t stm32_eventwait(struct sdio_dev_s *dev)
* incremented and there will be no wait.
*/
ret = nxsem_wait_uninterruptible(priv);
ret = nxsem_wait_uninterruptible(&priv->waitsem);
if (ret < 0)
{
/* Task canceled. Cancel the wdog (assuming it was started) and