wireless/xbee_mac: transmit lock should in pairs
Signed-off-by: chao an <anchao@xiaomi.com>
This commit is contained in:
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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue