Update wall_scan.c