adding spinlock

This commit is contained in:
Carl-Benedikt Krüger 2011-07-09 09:07:01 +02:00
parent 77e01d28b0
commit 74b206b242

View file

@ -903,8 +903,8 @@ err_t mmnif_init(struct netif* netif)
/* init the lock for the hdr
*/
sem_init(&mmnif->rx_buff->lock,1);
// spinlock_init(&mmnif->rx_buff->lock);
// sem_init(&mmnif->rx_buff->lock,1);
spinlock_init(&mmnif->rx_buff->lock);
/* init the sems for communication art
*/