From: Karl Hiramoto Date: Thu, 8 Jul 2010 20:55:35 +0000 (+0000) Subject: atm/suni.c: call atm_dev_signal_change() when signal changes. X-Git-Tag: MMI-PSA29.97-13-9~23092^2~292 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=e0b901a9532bdbbe56f37e61bdcc96ee05ab94b7;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git atm/suni.c: call atm_dev_signal_change() when signal changes. Propagate changes to upper atm layer. Signed-off-by: Karl Hiramoto Signed-off-by: David S. Miller --- diff --git a/drivers/atm/suni.c b/drivers/atm/suni.c index da4b91ffa53e..41c56eae4c81 100644 --- a/drivers/atm/suni.c +++ b/drivers/atm/suni.c @@ -291,8 +291,9 @@ static int suni_ioctl(struct atm_dev *dev,unsigned int cmd,void __user *arg) static void poll_los(struct atm_dev *dev) { - dev->signal = GET(RSOP_SIS) & SUNI_RSOP_SIS_LOSV ? ATM_PHY_SIG_LOST : - ATM_PHY_SIG_FOUND; + atm_dev_signal_change(dev, + GET(RSOP_SIS) & SUNI_RSOP_SIS_LOSV ? + ATM_PHY_SIG_LOST : ATM_PHY_SIG_FOUND); }