mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-08 22:08:02 +00:00
klondike - initialise stat_lock
This commit is contained in:
parent
75230ed808
commit
f562174a39
@ -821,6 +821,7 @@ static bool klondike_detect_one(struct libusb_device *dev, struct usb_find_devic
|
|||||||
break;
|
break;
|
||||||
update_usb_stats(klncgpu);
|
update_usb_stats(klncgpu);
|
||||||
applog(LOG_DEBUG, "Klondike cgpu added");
|
applog(LOG_DEBUG, "Klondike cgpu added");
|
||||||
|
rwlock_init(&klninfo->stat_lock);
|
||||||
cglock_init(&klninfo->klist_lock);
|
cglock_init(&klninfo->klist_lock);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user