Commit 3b6afac6 authored by Adam Wujek's avatar Adam Wujek 💬 Committed by Tomasz Wlostowski

userspace/wrsw_hal: fix ppsi retries

Signed-off-by: Adam Wujek's avatarAdam Wujek <adam.wujek@cern.ch>
parent 23578414
......@@ -1605,7 +1605,7 @@ static int try_open_ppsi_shmem(void)
if (!ppsi_head) {
ret = wrs_shm_get_and_check(wrs_shm_ptp, &ppsi_head);
if (ret == WRS_SHM_OPEN_FAILED) {
if (open_error > 1000000)
if (open_error > 100)
pr_error("Unable to open PPSI's shm !\n");
else
open_error++;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment