Bug-AGL:SPEC-2965
If a surface is put on the transmitter output
without starting the waltham-receiver there was
a crash because of null pointer access.
Change-Id: Iec331e0077a59397cd579923bdabe5f906c2fba1
Signed-off-by: Veeresh Kadasani <external.vkadasani@jp.adit-jv.com>
if (wl_list_empty(&compositor->view_list))
goto out;
- if (remote->status == WESTON_TRANSMITTER_CONNECTION_DISCONNECTED)
+ if (remote->status != WESTON_TRANSMITTER_CONNECTION_READY)
goto out;
wl_list_for_each_reverse(view, &compositor->view_list, link) {