mirror of
https://github.com/apache/nuttx.git
synced 2026-05-27 19:36:35 +08:00
wireless/xbee_mac: transmit lock should in pairs
Signed-off-by: chao an <anchao@xiaomi.com>
This commit is contained in:
committed by
Petro Karashchenko
parent
a53cc533c0
commit
ad978e7702
@@ -320,6 +320,7 @@ int xbee_req_data(XBEEHANDLE xbee,
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
nxmutex_unlock(&priv->tx_lock);
|
||||||
return -EINVAL;
|
return -EINVAL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user