Fix a compile error that crept into the LPC17xx USB host driver

This commit is contained in:
Gregory Nutt 2014-02-09 13:45:18 -06:00
parent 270afe8c90
commit 976e178ac4

View File

@ -1304,7 +1304,7 @@ static int lpc17_ctrltd(struct lpc17_usbhost_s *priv, uint32_t dirpid,
else
{
uvdbg("Bad TD completion status: %d\n", EDCTRL->tdstatus);
ret = ed->tdstatus == TD_CC_STALL ? -EPERM : -EIO;
ret = EDCTRL->tdstatus == TD_CC_STALL ? -EPERM : -EIO;
}
}