Fix kernel freezing in recovery.

Change-Id: I307d3f21bb42150bd3d6bfda58a278a4eaa00ee2
Signed-off-by: angelsl <hidingfromhidden@gmail.com>