vom: l2-emulation: Fix sweep function