priv->last_noise is not used with the exponential averaging algorithm
Signed-off-by: Zhu Yi <yi.zhu@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
if (filter & IPW_PROM_NO_RX)
return;
if (filter & IPW_PROM_NO_RX)
return;
- if (!noise)
- noise = priv->last_noise;
-
/* We received data from the HW, so stop the watchdog */
priv->prom_net_dev->trans_start = jiffies;
/* We received data from the HW, so stop the watchdog */
priv->prom_net_dev->trans_start = jiffies;