An officer stops a driver for speeding.
After issuing a warning and returning the driver's license, the officer decides to have a K-9 unit conduct a drug sniff of the vehicle's exterior.
The officer instructs the driver to wait.
What is the primary legal issue with detaining the driver for the K-9 unit after the traffic stop's mission is complete?