wireless/ieee802154: mac lock should in pairs

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

View File

@ -345,6 +345,7 @@ static void mac802154_scantimeout(FAR void *arg)
mac802154_scanfinish(priv, IEEE802154_STATUS_NO_BEACON);
}
nxmutex_unlock(&priv->lock);
return;
}