I have a Hampton Bay fan with a wireless controller model # FAN 2R CWE; FCC ID L3HJAN95FAN2R

The wireless controller is not working any longer and I would like to find out what wire(s) I need to connect together in order to just remove it and thus control the fan solely from a dual light/fan wall switch. The controller has a circuit board that controls if the fan or light is on and at what speed. I need to know how to bypass it.