There was no Vice Admiral embarked on board MIDWAY during Desert Storm. The MIDWAY Battle Group Commander/TF-154 was a Rear Admiral (Upper Half)
The VADM appears to be wearing a Command at Sea Insignia. At that point in history Flag Officers were not authorized to wear this insignia. Additionally, he is wearing it above his jump wings on the left side. Active command position is on the right side, and post tour is on the left and on the left pocket flap.
When they are talking in the hanger, the character who speaks about the Brazilian girls - in one shot his earpiece is in the left ear and the next shot it's in his right ear, alternating back and forth.
The movie takes place during Operation Desert Shield in 1990, but in the trailer a USAF F-22 Raptor is clearly seen streaking overhead. The Raptor did not go into operation service until 2005.
Although taking place during Operation Desert Storm, during the opening dialogue an officer refers to the Department of Homeland Security, which was not created until after the 9/11 attacks more than 10 years later.
The US Army Soldiers depicted in the movie are wearing the Army Combat Uniform (digital camo pattern). The movie takes place during Operation Desert Shield/Desert Storm, but this uniform was not fielded until 2005.