mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-10 23:08:07 +00:00
Init rwlock for bflsc stat_lock.
This commit is contained in:
parent
a436ede673
commit
08c13a138f
@ -935,6 +935,7 @@ reinit:
|
|||||||
update_usb_stats(bflsc);
|
update_usb_stats(bflsc);
|
||||||
|
|
||||||
mutex_init(&bflsc->device_mutex);
|
mutex_init(&bflsc->device_mutex);
|
||||||
|
rwlock_init(&sc_info->stat_lock);
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user