ceiling fan light doesn't go off when I pull the chain
I just installed a ceiling fan and it works, but when I pull the chain to turn off the light it doesn't go off. I have to turn it off by flipping the wall switch, which, of course turns off the whole fan. The fan chain works correctly. Where did I go wrong?