Border Patrol - 1943 movie starring Hopalong Cassidy
Hoppy, California and Johnny are Texas Rangers trying to end a scheme which smuggles Mexicans into the United States to become essentially slaves in a silver mine owned by Orestes Krebs. The three are captured, sentenced to hang, and then escape. They free the slaves and capture the bad guys.