linuxdriver: check supplicant status before send message [1/1]
PD#TV-5392
Problem:
when playing netflix movies, press power button, TV can not
power down and console hang.
previous commit will check supplicant status, but there is gap
that thread will scheduled and meanwhile the supplicant status
may change.
Solution:
move the status check before wait_for_completion
Verify:
TXLX + Android P
Change-Id: I445619192a1c6cf047a3fe51f3660dad7aa39601
Signed-off-by: Pengguang Zhu <pengguang.zhu@amlogic.com>