Ice maker not working

I have a Whirlpool Mod GSGSHAXMQ00 side by side refrigerator, it stopped making ice few days ago? when i close the infrared flap the light remains solid red i let the flap open it blinks.The water dispenser works fine so it is getting water. the ice maker on the other hand is not getting water? what controls the filling of the ice maker with water?