As Sherrardk suggests, keep the child away from the cigarette smoke (or, by insisting that the grandparents smoke outside when they visit you, keep the cigarette smoke away from the child). That's definitely not the same as keeping the child and the grandparents apart.
Chris