From ad978e77025837e01e2b8be8b7523af8aa4973ed Mon Sep 17 00:00:00 2001 From: chao an Date: Thu, 3 Nov 2022 18:01:23 +0800 Subject: [PATCH] wireless/xbee_mac: transmit lock should in pairs Signed-off-by: chao an --- drivers/wireless/ieee802154/xbee/xbee_mac.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/wireless/ieee802154/xbee/xbee_mac.c b/drivers/wireless/ieee802154/xbee/xbee_mac.c index c4c52442d0..3fd8032573 100644 --- a/drivers/wireless/ieee802154/xbee/xbee_mac.c +++ b/drivers/wireless/ieee802154/xbee/xbee_mac.c @@ -320,6 +320,7 @@ int xbee_req_data(XBEEHANDLE xbee, } else { + nxmutex_unlock(&priv->tx_lock); return -EINVAL; }