How did bump stocks become legal?

In the wake of the Las Vegas shooting, the National Rifle Association has called for a fresh look at one of the accessories the shooter used.