The reasons to ban smoking are
i) to prevent harm to the smoker
ii) to prevent harm to people around the smoker
Banning smoking in all public places may push smokers to smoke more at home or in the car, where their children are.
Since children are already severely affected by smoking we need to be careful to avoid anything that increases the amount of smoke around them.