mirror of
https://github.com/apache/nuttx.git
synced 2026-05-23 14:58:13 +08:00
Last fix to eliminate a warning also perpetrated a logic error in semaphore handling.
This commit is contained in:
@@ -443,9 +443,10 @@ static int macnet_notify(FAR struct mac802154_maccb_s *maccb,
|
||||
#endif
|
||||
}
|
||||
#endif
|
||||
|
||||
nxsem_post(&priv->md_exclsem);
|
||||
}
|
||||
|
||||
nxsem_post(&priv->md_exclsem);
|
||||
return OK;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user