gclue-wifi: Fix returning NULL error if BSS list is empty
This fixes a critical warning (and accompanying leak of the GTask
) if
the BSS list is empty, which causes create_query()
to return NULL
with no error set.
Signed-off-by: Philip Withnall pwithnall@endlessos.org