3945 does not have update_chain_flags defined and because if this we always
see the debug message that does not apply to it. Add a check to be specific
about what is actually happening.
Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
                        if (priv->cfg->ops->lib->update_chain_flags &&
                            update_chains)
                                priv->cfg->ops->lib->update_chain_flags(priv);
-                       else
+                       else if (priv->cfg->ops->lib->update_chain_flags)
                                IWL_DEBUG_POWER(priv,
                                        "Cannot update the power, chain noise "
                                        "calibration running: %d\n",