lpwan/sx127x: correct device unlock interface to nxmutex_unlock()

Signed-off-by: chao an <anchao@xiaomi.com>
This commit is contained in:
chao an 2022-11-07 15:28:09 +08:00 committed by Xiang Xiao
parent ace71efe77
commit 4b5e3ddf51

View File

@ -942,7 +942,7 @@ errout:
*/
sx127x_opmode_set(dev, dev->idle);
nxsem_post(&dev->dev_lock);
nxmutex_unlock(&dev->dev_lock);
return ret;
#endif