Fix missing bracket

This commit is contained in:
Christoffer Sandberg 2021-09-10 00:15:10 +02:00
parent 54c6da280e
commit 13510d6fc2

View file

@ -128,9 +128,9 @@ u32 uniwill_add_interface(struct uniwill_interface_t *interface)
else { else {
mutex_unlock(&uniwill_interface_modification_lock); mutex_unlock(&uniwill_interface_modification_lock);
return -EINVAL; return -EINVAL;
}
interface->event_callb = uniwill_event_callb; interface->event_callb = uniwill_event_callb;
mutex_unlock(&uniwill_interface_modification_lock); mutex_unlock(&uniwill_interface_modification_lock);
return 0; return 0;
} }