Last fix to eliminate a warning also perpetrated a logic error in semaphore handling.

This commit is contained in:
Gregory Nutt 2017-11-03 09:24:16 -06:00
parent ac40630452
commit c1de4380e9

View file

@ -443,9 +443,10 @@ static int macnet_notify(FAR struct mac802154_maccb_s *maccb,
#endif #endif
} }
#endif #endif
nxsem_post(&priv->md_exclsem);
} }
nxsem_post(&priv->md_exclsem);
return OK; return OK;
} }