Complex sentence: Until the late 1980s, call letters could only be used within the same company; when a company owned an AM and FM station and sold the FM station, the FM station had to change calls.
Split into simpler sentences: Until the late 1980's, call letters could only be used within the same company. So when a company owned an AM and FM station and sold the FM station, the FM station had to change calls.