wireless/ieee802154: Fixes missing handle of read/write being able to be interrupted

This commit is contained in:
Anthony Merlino 2017-05-09 17:19:44 -04:00
parent 2043e1a114
commit 1186cd4e56
1 changed files with 5 additions and 1 deletions

View File

@ -1482,7 +1482,11 @@ int mac802154_req_data(MACHANDLE mac,
priv->radio->ops->txnotify_csma(priv->radio);
sem_wait(&trans.sem);
ret = sem_wait(&trans.sem);
if (ret < 0)
{
return -EINTR;
}
}
}