wireless/xbee_mac: transmit lock should in pairs

Signed-off-by: chao an <anchao@xiaomi.com>
This commit is contained in:
chao an 2022-11-03 18:01:23 +08:00 committed by Petro Karashchenko
parent a53cc533c0
commit ad978e7702
1 changed files with 1 additions and 0 deletions

View File

@ -320,6 +320,7 @@ int xbee_req_data(XBEEHANDLE xbee,
} }
else else
{ {
nxmutex_unlock(&priv->tx_lock);
return -EINVAL; return -EINVAL;
} }