Browse Source

Merge commit '5ce372e' into cg_merges_20131108a

Luke Dashjr 12 years ago
parent
commit
d5e6b946bc
1 changed files with 1 additions and 0 deletions
  1. 1 0
      driver-klondike.c

+ 1 - 0
driver-klondike.c

@@ -1129,6 +1129,7 @@ static void *klondike_get_replies(void *userdata)
 				case KLN_CMD_WORK:
 				case KLN_CMD_WORK:
 					// We can't do/check this until it's initialised
 					// We can't do/check this until it's initialised
 					if (klninfo->initialised) {
 					if (klninfo->initialised) {
+						dev = kitem->kline.ws.dev;
 						if (kitem->kline.ws.workqc == 0) {
 						if (kitem->kline.ws.workqc == 0) {
 							bool idle = false;
 							bool idle = false;
 							rd_lock(&(klninfo->stat_lock));
 							rd_lock(&(klninfo->stat_lock));