frecon: fix VT2 lost a few lines when lid close/open under VT2

Reuse the buffer_properties if it was set before. Otherwise,
during lid close/open, frecon will run into headless mode, and
the default value will be passed to term_resize, that will
cause the screen data be resized and lost a few lines.

TEST=VT2 display normally under lid close/open test.

Change-Id: Iba0832596f8b7825e62d031df8ee404ddc2e7f75
Signed-off-by: zhuo-hao <>
Commit-Ready: Dominik Behr <>
Tested-by: Dominik Behr <>
Reviewed-by: Dominik Behr <>
(cherry picked from commit 8f99f4378aacc6ad7da94d0519d5d2f99f71f021)
Reviewed-by: YH Lin <>
Reviewed-by: Mohammed Habibulla <>
Commit-Queue: Xin-Yao Shih <>
Tested-by: Xin-Yao Shih <>
1 file changed