fixed UCI thread cancellation on ARM

This commit is contained in:
Martin Willi
2008-07-24 08:52:12 +00:00
parent 3bc5a137cb
commit b6bf863459
+1 -4
View File
@@ -237,8 +237,6 @@ static void process(private_uci_control_t *this, char *message)
*/ */
static job_requeue_t receive(private_uci_control_t *this) static job_requeue_t receive(private_uci_control_t *this)
{ {
while (TRUE)
{
char message[128]; char message[128];
int oldstate, len; int oldstate, len;
FILE *in; FILE *in;
@@ -264,8 +262,7 @@ static job_requeue_t receive(private_uci_control_t *this)
{ {
DBG1(DBG_DMN, "opening UCI fifo failed: %s", strerror(errno)); DBG1(DBG_DMN, "opening UCI fifo failed: %s", strerror(errno));
} }
} return JOB_REQUEUE_FAIR;
return JOB_REQUEUE_NONE;
} }
/** /**