Minor bug fix for uloop.

Signed-off-by: Xiongfei(Alex) Guo <xfguo@credosemi.com>