Where is the speed of light having constant, is the frequency and is the wavelength.
As the frequency increases, the wavelength decreases but the speed remains constant because the frequency is inversely proportional to the wavelength and the speed of light has a constant value.
Hence, the frequency of the wave does not affect the speed