Last fix to eliminate a warning also perpetrated a logic error in semaphore handling.
This commit is contained in:
parent
ac40630452
commit
c1de4380e9
1 changed files with 2 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue