wireless/ieee802154: Fixes missing handle of read/write being able to be interrupted
This commit is contained in:
parent
2043e1a114
commit
1186cd4e56
@ -1482,7 +1482,11 @@ int mac802154_req_data(MACHANDLE mac,
|
|||||||
|
|
||||||
priv->radio->ops->txnotify_csma(priv->radio);
|
priv->radio->ops->txnotify_csma(priv->radio);
|
||||||
|
|
||||||
sem_wait(&trans.sem);
|
ret = sem_wait(&trans.sem);
|
||||||
|
if (ret < 0)
|
||||||
|
{
|
||||||
|
return -EINTR;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user