summaryrefslogtreecommitdiffstats
path: root/drivers/atm/suni.c
diff options
context:
space:
mode:
authorKarl Hiramoto <karl@hiramoto.org>2010-07-08 20:55:35 +0000
committerDavid S. Miller <davem@davemloft.net>2010-07-09 00:09:23 -0700
commite0b901a9532bdbbe56f37e61bdcc96ee05ab94b7 (patch)
tree93fdef35b4a9dcbb28b4a80cb2be29fd6090a0aa /drivers/atm/suni.c
parent49d49106fc6cbb48c832aa58e3e6cee8b49d5e8f (diff)
downloadlinux-e0b901a9532bdbbe56f37e61bdcc96ee05ab94b7.tar.bz2
atm/suni.c: call atm_dev_signal_change() when signal changes.
Propagate changes to upper atm layer. Signed-off-by: Karl Hiramoto <karl@hiramoto.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/atm/suni.c')
-rw-r--r--drivers/atm/suni.c5
1 files changed, 3 insertions, 2 deletions
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);
}